17 lines
511 B
SYSTEMD
17 lines
511 B
SYSTEMD
|
[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
|