#!/bin/sh # Version 4 ### BEGIN INIT INFO # Provides: 7dtd-server # Required-Start: $remote_fs # Required-Stop: $remote_fs # Should-Start: $named # Should-Stop: $named # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: 7 Days to Die server # Description: Starts a 7 Days to Die server ### END INIT INFO case "$1" in start) /usr/local/bin/7dtd.sh start "!" ;; stop) /usr/local/bin/7dtd.sh kill "!" ;; status) /usr/local/bin/7dtd.sh instances ;; *) echo "Usage: ${0} {start|stop|status}" exit 2 esac exit 0