Closed Edvinas01 closed 2 months ago
Seems need to copy the service file from /etc/systemd/system
to /lib/systemd/system
.
Sadly mint is not one of our supported distributions today https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#supported-architectures-and-operating-systems-for-self-hosted-runners
Describe the bug After configuring the runner as a service on Linux Mint, it doesn't automatically start after the system restarts.
To Reproduce Steps to reproduce the behavior:
journalctl
logs, the runner fails withstatus=203/EXEC
./bin/bash
inExecStart
.systemctl daemon-reload
.journalctl
logs, the runner fails withstatus=200/CHDIR
.Expected behavior The runner service automatically restarts with the OS without any errors.
Runner Version and Platform
What's not working?
The runner does not start automatically on system boot when following this guide.
Logs
Here are the logs from
journalctl -u actions.runner.ORG.USR.service
(note, I replaced organization name with ORG, system name with SYS and username with USR).Before modifying the service file:
After modifying the service file to include
/bin/bash
inExecStart
:More Info
sudo ./svc.sh start
it works fine, only when restarting the service doesn't boot up automatically.svc.sh
(note, I added/bin/bash
toExecStart
):[Service] ExecStart=/bin/bash /home/USR/Software/actions-runner/runsvc.sh User=USR WorkingDirectory=/home/USR/Software/actions-runner KillMode=process KillSignal=SIGTERM TimeoutStopSec=5min
[Install] WantedBy=multi-user.target