runner/openrc/README.md

12 lines
514 B
Markdown
Raw Normal View History

2024-02-03 04:17:32 +01:00
# OpenRC init scripts
OpenRC is used to run services in Alpine Linux, Gentoo and probably others.
More info: https://github.com/OpenRC/openrc/blob/master/service-script-guide.md
## Steps to install
1. Copy init.d/runner to /etc/init.d/runner
2. Set correct permissions: `doas chown root:root /etc/init.d/runner && chmod 755 /etc/init.d/runner`
3. Create symlink in correct runlevel: `doas ln -s /etc/init.d/runner /etc/runlevels/default/runner`
4. Set API_KEYS in /etc/init.d/runner by editing the file as root