[Whonix-devel] Bug#820111: document how to use per-user systemd --user services

Patrick Schleizer adrelanos at riseup.net
Tue Apr 5 16:52:59 CEST 2016


Package: systemd
Severity: wishlist
X-Debbugs-CC: whonix-devel at whonix.org

Dear maintainer,

please document how to use per-user systemd --user services.

- how to do that for a login console
- how to do that for an X session

(If there is any difference.)

Steps I done:

sudo apt-get install libpam-systemd dbus

sudo loginctl enable-linger user

Drop the service in /etc/systemd/user/mytest.service.

systemctl --user enable mytest

'ps aux | grep systemd' shows that 'systemd --user' is running.

Manual 'systemctl --user start mytest' works for me. But it is never
automatically started.

After reboot, 'systemctl --user status mytest' always shows loaded,
enabled, inactive, dead.

I might be doing something wrong. Please consider documenting how to do
that.

Cheers,
Patrick


More information about the Whonix-devel mailing list