Update systemd service file for remindme_caldav

- Modify the standard output and error to syslog.
- Add SyslogIdentifier for easier identification in logs.
This commit is contained in:
Sam 2024-02-16 10:21:21 +00:00
parent ae7965c60b
commit 1176ad9b67
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,9 @@ 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
Environment="PYTHONUNBUFFERED=1"
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=remindme_caldav
[Install]
WantedBy=multi-user.target