workdirfs/workdirfs.service

8 lines
208 B
SYSTEMD
Raw Normal View History

2020-02-11 15:14:26 +01:00
[Unit]
Description=Daily working directory ~/Work
[Service]
2020-02-12 00:50:48 +01:00
Environment=SRC=%h/archive DST=%h/Work
ExecStart=/usr/bin/python3 /usr/local/bin/workdirfs.py ${SRC} ${DST}
ExecStop=/usr/bin/fusermount -u ${DST}