diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2021-12-26 20:54:02 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2021-12-26 20:56:18 +0100 |
commit | 6a3b98debdbf6eaf72b59945aa0e12e248838c73 (patch) | |
tree | 33067980caf9a9c56699d75b1e963c275ad8daa5 /debian/swiftstory.init | |
parent | e2a704f673b30dd41b66299200780e5935d33481 (diff) |
Mention that the Debian package is offensive to bump standards-version
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'debian/swiftstory.init')
-rw-r--r-- | debian/swiftstory.init | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/debian/swiftstory.init b/debian/swiftstory.init deleted file mode 100644 index de1ae8f..0000000 --- a/debian/swiftstory.init +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/bash -# -### BEGIN INIT INFO -# Provides: swiftstory -# Required-Start: $remote_fs -# Required-Stop: $remote_fs -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: starts and Stop SwiftStory daemon -### END INIT INFO - -set -e - -# /etc/init.d/swiftstory: start and stop SwiftStory daemon - -NAME=SwiftStory -DESC='SwiftStory game' -DAEMON=/usr/bin/swiftstoryd -PIDFILE=/var/run/swiftstoryd.pid -USER=swiftstory - -test -x $DAEMON || exit 0 - -. /lib/init/vars.sh -. /lib/lsb/init-functions - -[ -r /etc/default/swiftstory ] && . /etc/default/swiftstory - -export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" - -case "$1" in - start) - log_daemon_msg "Starting $DESC" "$NAME" || true - if start-stop-daemon --start --quiet -b --oknodo --pidfile $PIDFILE --make-pidfile --chuid $USER --exec $DAEMON -- $OPTS; then - log_end_msg 0 || true - else - log_end_msg 1 || true - fi - ;; - stop) - log_daemon_msg "Stopping $DESC" "$NAME" || true - if start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --remove-pidfile; then - log_end_msg 0 || true - else - log_end_msg 1 || true - fi - ;; - reload|force-reload) - ;; - restart) - $0 stop - $0 start - ;; - try-restart) - ;; - status) - status_of_proc -p $PID "$DAEMON" "$NAME" && exit 0 || exit $? - ;; - *) - log_action_msg "Usage /etc/init.d/swiftstory {start|stop|reload|force-reload|restart|try_restart|status}" || true - exit 1 -esac - -exit 0 |