-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
On my system runit's runsvdir has to be explicitly run after login as I've not managed to use systemd to start this as a per-user system service and would prefer to avoid adding this kind of logic to my shell's profile.
However if I cannot convince systemd to run this as a system service with User=%i instantiation I'll have to probably involve the login shell with something like:
if hash runsvdir 2> /dev/null && ! pgrep -U "$UID" -x runsvdir; then
runsvdir "$LOCALDIR"/service &
fiThere's also the potential to use pam's pam_exec but that might involve even more wrappers.
Metadata
Metadata
Assignees
Labels
No labels