aports/orphan/spigot-mc/spigot.initd

14 lines
257 B
Plaintext

#!/sbin/openrc-run
description="Spigot Minecraft server"
supervisor=supervise-daemon
command="/usr/bin/spigot"
pidfile="/run/${RC_SVCNAME}.pid"
output_log="/var/log/${RC_SVCNAME}/out.log"
command_background=true
depend() {
want net
after net firewall
}