guestsession/etc/systemd/system/guest-session@.service

17 lines
511 B
SYSTEMD
Raw Normal View History

2022-11-26 10:41:29 +01:00
[Unit]
Description=Create guest-user (%i) and activate volatile $HOME for it
[Service]
RemainAfterExit=true
# if installed to /usr/lib/systemd, then activate this
#ExecStart=/usr/lib/systemd/scripts/guest-session.sh create "%I"
#ExecStop=/usr/lib/systemd/scripts/guest-session.sh delete "%I"
# if installed to /etc/systemd/syste/, then activate this
ExecStart=/etc/systemd/scripts/guest-session.sh create "%I"
ExecStop= /etc/systemd/scripts/guest-session.sh delete "%I"
[Install]
WantedBy=multi-user.target