Jon Stanley wrote: > I'd like a systemd unit (and only that unit) to be controlled by a > specific user. The unit runs as this user, so I thought about user > instances of systemd. This service should be started when the system > starts, so you'd have to enable linger in systemd-logind for that to > work. > > The question is how to make the systemd user *service* start at boot?
[Install] WantedBy=default.target $ systemctl --user enable foo.service Created symlink from /home/user/.config/systemd/user/default.target.wants/foo.service to /home/user/.config/systemd/user/foo.service. $ That's pretty much it. -- pocek _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel