What could auto-start CUPS is cups-browsed for example, but with
Requires=cups.service
in
/lib/systemd/system/cups-browsed.service
the shutdown of CUPS should shutdown cups-browsed first.
Also important is that first both the .path and .socket get shut down first, to avoid an auto-start of CUPS when .service gets shut down.
What could auto-start CUPS is cups-browsed for example, but with
Requires= cups.service
in
/lib/systemd/ system/ cups-browsed. service
the shutdown of CUPS should shutdown cups-browsed first.
Also important is that first both the .path and .socket get shut down first, to avoid an auto-start of CUPS when .service gets shut down.