mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-11 00:07:08 +02:00
24 lines
508 B
Plaintext
24 lines
508 B
Plaintext
#!/sbin/runscript
|
|
# Copyright 1999-2005 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header:
|
|
|
|
depend() {
|
|
need net
|
|
use logger
|
|
before mta
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting clapf"
|
|
start-stop-daemon --start --quiet --user clapf --background \
|
|
--exec /usr/sbin/clapf --make-pidfile --pid /var/run/clapf/clapf.pid -- -c /etc/clapf.conf
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping clapf"
|
|
start-stop-daemon --stop --quiet --pidfile /var/run/clapf/clapf.pid
|
|
eend $?
|
|
}
|