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:
Sam 2024-02-16 13:11:15 +00:00
parent 1fa0bfb310
commit 025d0a353b
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ StartLimitIntervalSec=0
Type=simple
RestartSec=1
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"
StandardOutput=syslog
StandardError=syslog