service
service copied to clipboard
systemd user services
Can we add support for systemd user services? There is a pull request hanging which looks quite good: https://github.com/kardianos/service/pull/185.
For the root user, I would, however, put the service file in /usr/lib/systemd/user/
(if optionUserService is set to true). This would allow all users to use the service file.
@kardianos The relevant commit (#185) was merged, so this issue seems to be resolved. However, the version has not been bumped, so I had to access it using go get github.com/kardianos/service@HEAD
.
bumpped.