remindme_caldav/remindme_caldav.service
Sam 1176ad9b67 Update systemd service file for remindme_caldav
- Modify the standard output and error to syslog.
- Add SyslogIdentifier for easier identification in logs.
2024-02-16 10:21:21 +00:00

18 lines
452 B
Desktop File

[Unit]
Description=Calendar Alerting Daemon
After=network.target
StartLimitIntervalSec=0
[Service]
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
Environment="PYTHONUNBUFFERED=1"
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=remindme_caldav
[Install]
WantedBy=multi-user.target