Ajout script d'init pour Alpine Linux

This commit is contained in:
wpetit 2019-05-31 13:22:09 +02:00
parent 116a365095
commit 749e7b1400

View File

@ -0,0 +1,8 @@
#!/sbin/openrc-run
command="/opt/cadoles-profile/bin/server"
command_args="-workdir /opt/cadoles-profile \
-config /etc/cadoles-profile/server.conf"
command_background=yes
pidfile="$PIDFILE"
start_stop_daemon_args="-1 $LOGFILE -2 $LOGFILE"