workdirfs/workdirfs.service

8 lines
252 B
Desktop File

[Unit]
Description=Daily working directory ~/Work
[Service]
Environment=MOUNTPOINT=Work
ExecStart=/usr/bin/python3 -u /usr/local/bin/workdirfs.py -m $MOUNTPOINT
ExecStop=-/usr/bin/fusermount -u ${MOUNTPOINT}
ExecStop=-/bin/fusermount -u ${MOUNTPOINT}