meta: example systemd service
This commit is contained in:
parent
23745d6829
commit
170803c114
1 changed files with 14 additions and 0 deletions
14
cusku.service
Normal file
14
cusku.service
Normal 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
|
||||||
Loading…
Reference in a new issue