Use Environment for Mountpoint to umount
This commit is contained in:
parent
bb258450bc
commit
8de02a391e
1 changed files with 2 additions and 1 deletions
|
@ -2,5 +2,6 @@
|
||||||
Description=Daily working directory ~/Work
|
Description=Daily working directory ~/Work
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/python3 -u /usr/local/bin/workdirfs.py
|
Environment=MOUNTPOINT=%h/Work
|
||||||
|
ExecStart=/usr/bin/python3 -u /usr/local/bin/workdirfs.py -m $MOUNTPOINT
|
||||||
ExecStop=/usr/bin/fusermount -u ${MOUNTPOINT}
|
ExecStop=/usr/bin/fusermount -u ${MOUNTPOINT}
|
||||||
|
|
Loading…
Reference in a new issue