MyNixOS website logo
option

systemd.user.services.<name>.Unit.X-SwitchMethod

The preferred method to use when switching from an old to a new version of this service.

Declarations
Type
one of <null>, "reload", "restart", "stop-start", "keep-old"
Default
null
Example
[ "${config.xdg.configFile."service.conf".source}" ]