Skip to content

Instantly share code, notes, and snippets.

@janderedev
Created August 24, 2022 18:41
Embed
What would you like to do?
OpenRC service file for pterodactyl
#!/sbin/openrc-run
name="Pterodactyl Wings"
#command="/usr/local/bin/wings"
depend() {
after docker
}
start() {
ebegin "Starting wings"
start-stop-daemon --background --start --exec /usr/local/bin/wings \
--make-pidfile --pidfile /etc/pterodactyl/wings.pid
eend $?
}
stop() {
ebegin "Stopping wings"
start-stop-daemon --stop --exec /usr/local/bin/wings \
--pidfile /etc/pterodactyl/wings.pid
eend $?
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment