meta: example systemd service

This commit is contained in:
xmppftw xmppftw 2026-06-23 17:40:48 +02:00
commit 170803c114

14
cusku.service Normal file
View file

@ -0,0 +1,14 @@
[Unit]
Description=Forgejo webhooks (cusku)
Wants=network-online.target
After=network-online.target nss-lookup.target prosody.service forgejo.service
[Service]
Type=exec
User=cusku
ExecStart=/opt/cusku/cusku -c /opt/cusku/cusku.toml
WorkingDirectory=/opt/cusku
Environment=RUST_LOG=debug
[Install]
WantedBy=multi-user.target