guestsession/etc/systemd/system/guest-session@.service
2022-11-26 10:41:29 +01:00

16 lines
511 B
Desktop File

[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