add different ExecStop
This commit is contained in:
parent
935ac75f6c
commit
2eb0dbdac2
1 changed files with 2 additions and 1 deletions
|
@ -4,4 +4,5 @@ Description=Daily working directory ~/Work
|
||||||
[Service]
|
[Service]
|
||||||
Environment=MOUNTPOINT=Work
|
Environment=MOUNTPOINT=Work
|
||||||
ExecStart=/usr/bin/python3 -u /usr/local/bin/workdirfs.py -m $MOUNTPOINT
|
ExecStart=/usr/bin/python3 -u /usr/local/bin/workdirfs.py -m $MOUNTPOINT
|
||||||
ExecStop=/usr/bin/fusermount -u ${MOUNTPOINT}
|
ExecStop=-/usr/bin/fusermount -u ${MOUNTPOINT}
|
||||||
|
ExecStop=-/bin/fusermount -u ${MOUNTPOINT}
|
||||||
|
|
Loading…
Reference in a new issue