From 827413aae1c47a6cec0dfbfde16754f39a1485c1 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 17 Apr 2009 13:48:14 +0200 Subject: Modify debian package to use the new name, remove initscript as it makes no sense for dzen2 --- i3status.init | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100755 i3status.init (limited to 'i3status.init') diff --git a/i3status.init b/i3status.init deleted file mode 100755 index 9b5ea6d..0000000 --- a/i3status.init +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# -### BEGIN INIT INFO -# Provides: i3status -# 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 -### 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" - start-stop-daemon --start --background --quiet --make-pidfile --pidfile /var/run/i3status.pid --name i3status --startas /usr/bin/i3status - 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 - 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 - ;; -*) log_action_msg "Usage: $0 {start|stop|restart|reload|force-reload}" - exit 2 - ;; -esac -exit 0 -- cgit v1.2.3