From af62905d06499302d92f165768168d76f9138f64 Mon Sep 17 00:00:00 2001 From: Marcin Deranek Date: Mon, 9 Mar 2020 09:36:09 +0100 Subject: Remove obsolete/outdated version --- net-mail/sympa/files/sympa-6.0.initd | 53 ------------------------------------ 1 file changed, 53 deletions(-) delete mode 100644 net-mail/sympa/files/sympa-6.0.initd (limited to 'net-mail/sympa/files/sympa-6.0.initd') diff --git a/net-mail/sympa/files/sympa-6.0.initd b/net-mail/sympa/files/sympa-6.0.initd deleted file mode 100644 index 691ce10..0000000 --- a/net-mail/sympa/files/sympa-6.0.initd +++ /dev/null @@ -1,53 +0,0 @@ -#!/sbin/openrc-run - -opts="depend start stop" -sympaconf="/etc/sympa/sympa.conf" -wwsympaconf="/etc/sympa/wwsympa.conf" -sympadir="/usr" -depend() { - use logger mysql postgres ldap - before apache apache2 lighttpd -} - -sympa_start() { - ebegin "Starting Sympa module $1.pl: " - start-stop-daemon --start --quiet --pidfile /var/run/sympa/$1.pid --exec ${sympadir}/sbin/$1.pl - eend $? -} - -sympa_stop() { - if [ -f "/var/run/sympa/$1.pid" ]; then - ebegin "Stopping Sympa module $1.pl: " - start-stop-daemon --stop --quiet --pidfile /var/run/sympa/$1.pid - eend $? - fi -} - -start() { - #Check config files - if [ ! -f ${sympaconf} ]; then - eerror "Missing Sympa config!" - return 1 - fi - if [ ! -f ${wwsympaconf} ]; then - eerror "Missing WWSympa config!" - return 1 - fi - echo "Starting Sympa subsystems: " - sympa_start sympa - sympa_start bulk - sympa_start archived - sympa_start bounced - sympa_start task_manager -} - -stop(){ - echo "Stopping Sympa subsystems: " - sympa_stop bounced - sympa_stop archived - sympa_stop bulk - sympa_stop sympa - sympa_stop task_manager - sympa_stop sympa-distribute - sympa_stop sympa-creation -} -- cgit v1.2.3