pterodactyl-panel-compose/pterodactyl-panel-compose.initd.in

20 lines
376 B
Text

#!/sbin/openrc-run
name=$RC_SVCNAME
description="Pterodactyl Panel Containerized"
supervisor="supervise-daemon"
command="/usr/share/pterodactyl-panel/pterodactyl-panel.sh"
command_args="start"
command_user="pterodactyl"
depend() {
after podman
need podman
}
stop() {
ebegin "Stopping $RC_SVCNAME"
/usr/share/pterodactyl-panel/pterodactyl-panel.sh stop
eend $?
}