Adds systemd service example

This commit is contained in:
2026-05-11 22:10:20 -04:00
parent 403ab6bd17
commit 68a518337d
+21
View File
@@ -0,0 +1,21 @@
[Unit]
Description=Converge - auto-sync git repositories
Documentation=https://github.com/jbrechtel/converge
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=%h/.local/bin/converge --config %h/.config/converge/config.yaml
Restart=on-failure
RestartSec=10
# Security hardening
NoNewPrivileges=yes
PrivateTmp=yes
# Allow notify-send to reach the desktop session
Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/bus
[Install]
WantedBy=default.target