add ExecStop
This commit is contained in:
parent
ac08875423
commit
caa922add1
1 changed files with 3 additions and 1 deletions
|
@ -2,4 +2,6 @@
|
|||
Description=Daily working directory ~/Work
|
||||
|
||||
[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}
|
||||
|
|
Loading…
Reference in a new issue