workdirfs/workdirfs.service

9 lines
352 B
SYSTEMD
Raw Normal View History

2020-02-11 15:14:26 +01:00
[Unit]
Description=Daily working directory ~/Work
[Service]
2020-02-12 17:30:08 +01:00
EnvironmentFile=/etc/workdirfs.conf
EnvironmentFile=-%h/.config/workdirfs.conf
2020-02-12 18:07:16 +01:00
ExecStart=/usr/bin/python3 -u /usr/local/bin/workdirfs.py --archive ${ARCHIVE} --mountpoint ${MOUNTPOINT} --timeoffset ${TIMEOFFSET} -y ${YEARLYDIR} -M ${MONHTLYDIR}
2020-02-12 17:30:08 +01:00
ExecStop=/usr/bin/fusermount -u ${MOUNTPOINT}