diff --git a/cusku.service b/cusku.service new file mode 100644 index 0000000..f6c1505 --- /dev/null +++ b/cusku.service @@ -0,0 +1,14 @@ +[Unit] +Description=Forgejo webhooks (cusku) +Wants=network-online.target +After=network-online.target nss-lookup.target + +[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