diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2009-06-21 14:50:57 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2009-06-21 14:50:57 +0200 |
commit | a3707bae7ea42913c98c6779ced3c3f82f3300d6 (patch) | |
tree | aad9d078a9761d01ffbe49ce3fada78b9fdfbbfb /debian/i3status-wmii.init | |
parent | 098f7bac23e6e63e1ef0bfc12e7581ffd93ea89c (diff) |
debian: revert packaging to produce only one package, but with both binaries
Diffstat (limited to 'debian/i3status-wmii.init')
-rwxr-xr-x | debian/i3status-wmii.init | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/debian/i3status-wmii.init b/debian/i3status-wmii.init deleted file mode 100755 index dcfe84e..0000000 --- a/debian/i3status-wmii.init +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# -### BEGIN INIT INFO -# Provides: i3status-wmii -# Required-Start: -# Required-Stop: -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: Generates a status line for wmii -# Description: Generates a status line for wmii -### END INIT INFO - -# For the pidfile, you must be root. i3status itself runs as user just fine -[ $(id -ru) -eq 0 ] || { echo "You need to be root"; exit 1; } - -. /lib/lsb/init-functions - -case "$1" in -start) log_daemon_msg "Starting wmii status bar filler" "i3status-wmii" - start-stop-daemon --start --background --quiet --make-pidfile --pidfile /var/run/i3status-wmii.pid --name i3status-wmii --startas /usr/bin/i3status-wmii - log_end_msg $? - ;; -stop) log_daemon_msg "Stopping wmii status bar filler" "i3status-wmii" - start-stop-daemon --stop --quiet --pidfile /var/run/i3status-wmii.pid --name i3status-wmii - log_end_msg $? - ;; -restart|reload|force-reload) log_daemon_msg "Restarting wmii status bar filler" "i3status-wmii" - start-stop-daemon --stop --retry 5 --quiet --pidfile /var/run/i3status-wmii.pid --name i3status-wmii - start-stop-daemon --start --background --quiet --make-pidfile --pidfile /var/run/i3status-wmii.pid --name i3status-wmii --startas /usr/bin/i3status-wmii - ;; -*) log_action_msg "Usage: $0 {start|stop|restart|reload|force-reload}" - exit 2 - ;; -esac -exit 0 |