From c1d860137545dcf328efd251a1f88ff4df47c89a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Wed, 12 Feb 2020 18:04:13 +0100 Subject: [PATCH] change options --- workdirfs.conf | 3 ++- workdirfs.service | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/workdirfs.conf b/workdirfs.conf index e619156..c427344 100644 --- a/workdirfs.conf +++ b/workdirfs.conf @@ -1,4 +1,5 @@ ARCHIVE=${HOME}/archive MOUNTPOINT=${HOME}/Work TIMEOFFSET=2 -OTHER_OPTIONS="-y -M" +YEARLYDIR=False +MONHTLYDIR=False diff --git a/workdirfs.service b/workdirfs.service index b76893e..947bc10 100644 --- a/workdirfs.service +++ b/workdirfs.service @@ -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}