forgejo_runner_debian_packager/debian/forgejo-runner.service
2024-03-10 16:30:36 +01:00

16 lines
333 B
Desktop File

[Unit]
Description=Forgejo Runner
After=syslog.target
After=network.target
[Service]
RestartSec=2s
Type=simple
User=forejo-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