mirror of https://code.forgejo.org/forgejo/runner
Fix comments in systemd unit service file (#274)
Apparently, even though my IDE grayed them out, you cannot start a comment mid-line in a systemd configuration file. I really should have tested this :3 Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/274 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Kwonunn <kwonunnx@gmail.com> Co-committed-by: Kwonunn <kwonunnx@gmail.com>pull/280/head
parent
89e4df134b
commit
6c067bfd76
|
@ -6,8 +6,10 @@ After=docker.service
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=forgejo-runner daemon
|
ExecStart=forgejo-runner daemon
|
||||||
ExecReload=/bin/kill -s HUP $MAINPID
|
ExecReload=/bin/kill -s HUP $MAINPID
|
||||||
User=runner # This user must be created first
|
|
||||||
WorkingDirectory=/home/runner # This directory must be created first
|
# This user and working directory must already exist
|
||||||
|
User=runner
|
||||||
|
WorkingDirectory=/home/runner
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
TimeoutSec=0
|
TimeoutSec=0
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
|
Loading…
Reference in New Issue