Add forgejo-runner@.service
This commit is contained in:
parent
15bd87b11a
commit
e100b8701d
1 changed files with 13 additions and 0 deletions
13
forgejo-runner@.service
Normal file
13
forgejo-runner@.service
Normal 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
|
||||
|
Loading…
Reference in a new issue