From 1176ad9b674ef64cf58c0a237886a3502df0b820 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 16 Feb 2024 10:21:21 +0000 Subject: [PATCH] Update systemd service file for remindme_caldav - Modify the standard output and error to syslog. - Add SyslogIdentifier for easier identification in logs. --- remindme_caldav.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/remindme_caldav.service b/remindme_caldav.service index a9e2358..e62cc3c 100644 --- a/remindme_caldav.service +++ b/remindme_caldav.service @@ -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