change options
This commit is contained in:
parent
fc5e4dc0f2
commit
c1d8601375
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
ARCHIVE=${HOME}/archive
|
||||
MOUNTPOINT=${HOME}/Work
|
||||
TIMEOFFSET=2
|
||||
OTHER_OPTIONS="-y -M"
|
||||
YEARLYDIR=False
|
||||
MONHTLYDIR=False
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue