summaryrefslogtreecommitdiff
path: root/debian/i3status-wmii.init
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2009-06-17 23:55:25 +0200
committerMichael Stapelberg <michael@stapelberg.de>2009-06-17 23:55:25 +0200
commit1dfe4aeff38b2ab988cb3038311e49bb58aff306 (patch)
tree2357f52c9a5bd21b0e4a2e4fdf8b586e3914b234 /debian/i3status-wmii.init
parent780625a4fab29a43f63603c6a1137ebbdd7a2412 (diff)
debian: correctly build an i3status-common package, split up manpages
Diffstat (limited to 'debian/i3status-wmii.init')
-rwxr-xr-xdebian/i3status-wmii.init20
1 files changed, 10 insertions, 10 deletions
diff --git a/debian/i3status-wmii.init b/debian/i3status-wmii.init
index 9b5ea6d..dcfe84e 100755
--- a/debian/i3status-wmii.init
+++ b/debian/i3status-wmii.init
@@ -1,13 +1,13 @@
#!/bin/sh
#
### BEGIN INIT INFO
-# Provides: i3status
+# 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 dzen2 or wmii
-# Description: Generates a status line for dzen2 or wmii
+# 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
@@ -16,17 +16,17 @@
. /lib/lsb/init-functions
case "$1" in
-start) log_daemon_msg "Starting wmii status bar filler" "i3status"
- start-stop-daemon --start --background --quiet --make-pidfile --pidfile /var/run/i3status.pid --name i3status --startas /usr/bin/i3status
+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"
- start-stop-daemon --stop --quiet --pidfile /var/run/i3status.pid --name i3status
+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"
- start-stop-daemon --stop --retry 5 --quiet --pidfile /var/run/i3status.pid --name i3status
- start-stop-daemon --start --background --quiet --make-pidfile --pidfile /var/run/i3status.pid --name i3status --startas /usr/bin/i3status
+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