change options

This commit is contained in:
Jakobus Schürz 2020-02-12 18:04:13 +01:00
parent fc5e4dc0f2
commit c1d8601375
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,5 @@
ARCHIVE=${HOME}/archive
MOUNTPOINT=${HOME}/Work
TIMEOFFSET=2
OTHER_OPTIONS="-y -M"
YEARLYDIR=False
MONHTLYDIR=False

View file

@ -4,5 +4,5 @@ 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} ${OTHER_OPTIONS}
ExecStart=/usr/bin/python3 -u /usr/local/bin/workdirfs.py --archive ${ARCHIVE} --mountpoint ${MOUNTPOINT} --timeoffset ${TIMEOFFSET} -y ${YEARLYDIR} -M ${MONTHLYDIR}
ExecStop=/usr/bin/fusermount -u ${MOUNTPOINT}