add ExecStop

This commit is contained in:
Jakobus Schürz 2020-02-12 00:50:48 +01:00
parent ac08875423
commit caa922add1

View file

@ -2,4 +2,6 @@
Description=Daily working directory ~/Work Description=Daily working directory ~/Work
[Service] [Service]
ExecStart=/usr/bin/python3 /usr/local/bin/workdirfs.py Environment=SRC=%h/archive DST=%h/Work
ExecStart=/usr/bin/python3 /usr/local/bin/workdirfs.py ${SRC} ${DST}
ExecStop=/usr/bin/fusermount -u ${DST}