workdirfs/workdirfs.service
2020-02-12 18:07:16 +01:00

8 lines
352 B
Desktop File

[Unit]
Description=Daily working directory ~/Work
[Service]
EnvironmentFile=/etc/workdirfs.conf
EnvironmentFile=-%h/.config/workdirfs.conf
ExecStart=/usr/bin/python3 -u /usr/local/bin/workdirfs.py --archive ${ARCHIVE} --mountpoint ${MOUNTPOINT} --timeoffset ${TIMEOFFSET} -y ${YEARLYDIR} -M ${MONHTLYDIR}
ExecStop=/usr/bin/fusermount -u ${MOUNTPOINT}