Add forgejo-runner@.service

This commit is contained in:
Seaswimmer 2024-03-13 03:19:56 +00:00
parent 15bd87b11a
commit e100b8701d
Signed by: CoastalCommitsManagement
GPG key ID: 7E73189F651A553F

13
forgejo-runner@.service Normal file
View file

@ -0,0 +1,13 @@
[Unit]
Description=Forgejo Runner Daemon - %I
[Service]
ExecStart=/var/lib/forgejo-runner/%I/forgejo-runner daemon
WorkingDirectory=/var/lib/forgejo-runner/%I
Restart=always
User=root
Group=root
[Install]
WantedBy=multi-user.target