Re:Real-time notifications from systemd to Slack
by hornetblack on Monday March 13, 2017 @06:13AM
(#13856532)
systemd has --user option, which makes it a service manager for a particular user, if that's what you mean. I used it for some time
to run an emacs daemon. (until I found that it closed between logouts and changed to using the system manager isntead)
[ Parent
| on HN ]
Re:Real-time notifications from systemd to Slack
by tophercyll on Monday March 13, 2017 @06:43AM
(#13856643)
You can make user level systemd instances run at startup and stick around regardless of login/logout.
loginctl enable-linger <username>
This enables some nice deployment strategies that don't require root.
Re:Real-time notifications from systemd to Slack
by hornetblack on Monday March 13, 2017 @05:56PM
(#13862826)
Thanks. I figured this was possible. I just never got around to looking at loginctl's options.