workdirfs/workdirfs.service

9 lines
252 B
SYSTEMD
Raw Normal View History

2020-02-11 15:14:26 +01:00
[Unit]
Description=Daily working directory ~/Work
[Service]
2020-02-12 20:36:45 +01:00
Environment=MOUNTPOINT=Work
ExecStart=/usr/bin/python3 -u /usr/local/bin/workdirfs.py -m $MOUNTPOINT
2020-03-22 05:09:52 +01:00
ExecStop=-/usr/bin/fusermount -u ${MOUNTPOINT}
ExecStop=-/bin/fusermount -u ${MOUNTPOINT}