* [gentoo-dev] postfix rc6 style initscript
@ 2001-09-17 14:37 Martin Schlemmer
2001-09-17 14:53 ` AW: " Sebastian Werner
2001-09-17 18:52 ` Aron Griffis
0 siblings, 2 replies; 3+ messages in thread
From: Martin Schlemmer @ 2001-09-17 14:37 UTC (permalink / raw
To: Gentoo-Dev
[-- Attachment #1: Type: text/plain, Size: 130 bytes --]
hi
here is the initscript for postfix in the new (rc6) style.
would appreciate if someone could overlook and commit.
thanks
MS
[-- Attachment #2: postfix --]
[-- Type: text/plain, Size: 497 bytes --]
#!/sbin/runscript
SERVICE=postfix
opts="start stop restart"
PIDFILE=/var/spool/postfix/pid/master.pid
EXE=/usr/sbin/postfix
depend() {
need sysklogd net
}
start() {
ebegin "Starting $SERVICE..."
$EXE start >/dev/null 2>&1
eend $? "Started $SERVICE." "Error Starting $SERVICE."
}
stop() {
ebegin "Stopping $SERVICE..."
$EXE stop >/dev/null 2>&1
eend $? "Stopped $SERVICE." "Error Stopping $SERVICE."
}
restart() {
stop
start
}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-09-18 0:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-17 14:37 [gentoo-dev] postfix rc6 style initscript Martin Schlemmer
2001-09-17 14:53 ` AW: " Sebastian Werner
2001-09-17 18:52 ` Aron Griffis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox