Blocky - /etc/init.d script
Hey guys,
I recently installed blocky on my Alpine Linux LXC with the help of this package => https://pkgs.alpinelinux.org/package/edge/testing/x86/blocky Unfortunately I'm not able to get an /etc/init.d script created that let the service not just crash :(
I also tried the things from here https://wiki.alpinelinux.org/wiki/Writing_Init_Scripts#Daemon,_Forking,_Logging but the section about a daemon is empty :(
Here is what I have created so far that isn't working as well:
#!/sbin/openrc-run
pidfile="/run/$RC_SVCNAME.pid"
command="/usr/bin/blocky"
command_args="--config /root/config.yml"
command_background="yes"
start_stop_daemon_args="--quiet"
retry="SIGTERM/20"
depend() {
use net
}