workdirfs/workdirfs.service

7 lines
211 B
Desktop File

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