forgejo_runner_debian_packager/debian/forgejo-runner.service

17 lines
334 B
SYSTEMD
Raw Permalink Normal View History

2024-03-10 12:06:16 +01:00
[Unit]
Description=Forgejo Runner
After=syslog.target
After=network.target
[Service]
RestartSec=2s
Type=simple
User=forgejo-runner
Group=forgejo-runner
WorkingDirectory=/var/cache/forgejo-runner/
ExecStart=/usr/bin/forgejo-runner daemon --config /etc/forgejo-runner/config.yml
Restart=on-failure
[Install]
WantedBy=multi-user.targe