Update remindme_caldav service to use log directory
- Changed ExecStart command to include a new log directory option (--logdir) instead of a single log file (--logfile).
This commit is contained in:
parent
1fa0bfb310
commit
025d0a353b
|
@ -7,7 +7,7 @@ StartLimitIntervalSec=0
|
||||||
Type=simple
|
Type=simple
|
||||||
RestartSec=1
|
RestartSec=1
|
||||||
User=root
|
User=root
|
||||||
ExecStart=/opt/remindme_caldav/.venv/bin/python3 -u /opt/remindme_caldav/remindme_caldav.py --config /etc/remindme_caldav/config.toml --logfile /opt/remindme_caldav/log
|
ExecStart=/opt/remindme_caldav/.venv/bin/python3 -u /opt/remindme_caldav/remindme_caldav.py --config /etc/remindme_caldav/config.toml --logdir /opt/remindme_caldav/logs
|
||||||
Environment="PYTHONUNBUFFERED=1"
|
Environment="PYTHONUNBUFFERED=1"
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
StandardError=syslog
|
StandardError=syslog
|
||||||
|
|
Loading…
Reference in New Issue