updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / pacmail / pacmail
blob8fd6d4e30d2fb084c726b1ee18505a1c1fd7a4bf
1 #!/bin/bash
3 . /etc/rc.conf
4 . /etc/rc.d/functions
6 start() {
7 stat_busy "Starting PacMail"
8 /usr/bin/pacmail start
9 stat_done
12 stop() {
13 stat_busy "Shutting down PacMail"
14 /usr/bin/pacmail stop
15 stat_done
18 case "$1" in
19 start)
20 start
22 stop)
23 stop
25 restart)
26 stop
27 start
30 echo $"Usage: $0 {start|stop|restart}"
32 esac
33 exit 0