add different ExecStop

This commit is contained in:
Jakobus Schürz 2020-03-22 05:09:52 +01:00
parent 935ac75f6c
commit 2eb0dbdac2

View file

@ -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}