use environment for mountpoint to umount correct
This commit is contained in:
parent
f9c03174af
commit
530b6cf000
1 changed files with 2 additions and 1 deletions
|
@ -2,5 +2,6 @@
|
|||
Description=Daily working directory ~/Work
|
||||
|
||||
[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}
|
||||
|
|
Loading…
Reference in a new issue