workdirfs/workdirfs.service

7 lines
211 B
Desktop File

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