15 lines
288 B
SYSTEMD
15 lines
288 B
SYSTEMD
|
[Unit]
|
||
|
Description=Forgejo Runner
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=forgejo-runner
|
||
|
Group=forgejo-runner
|
||
|
WorkingDirectory=/var/lib/forgejo-runner
|
||
|
ExecStart=/usr/bin/forgejo-runner daemon -c /etc/forgejo-runner/config.yml
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|