repo.or.cz
/
buildroot-gz.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
openocd: avoid documentation rebuild to fix build issues
[buildroot-gz.git]
/
package
/
exim
/
S86exim
blob
bec88fc2229ac1a93edd672ae537fe1813454873
1
#!/bin/sh
2
#
3
# Start/stop exim
4
#
5
6
PIDFILE
=/
var
/
lock
/
exim
/
exim-daemon.pid
7
8
case
"
$1
"
in
9
start
)
10
echo
"Starting exim..."
11
start-stop-daemon
-S -x
exim
-- -bd
12
;;
13
stop
)
14
printf
"Stopping exim..."
15
start-stop-daemon
-K -o -p
$PIDFILE
16
;;
17
restart|reload
)
18
"
$0
"
stop
19
"
$0
"
start
20
;;
21
*)
22
echo
"Usage:
$0
{start|stop|restart}"
23
exit
1
24
esac
25
26
exit
$?