summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2015-11-17 13:44:39 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2015-11-17 13:44:39 +0100
commit14314e3be5c49c38af34202c498a2d6106775539 (patch)
treebc62e3273eaa09427cb5a11955959953d3dbfe89 /gnustep-apps/sogo/files/sogod.initd
parentMove windowmaker live ebuild to main tree (diff)
downloadgnustep-14314e3be5c49c38af34202c498a2d6106775539.tar.gz
gnustep-14314e3be5c49c38af34202c498a2d6106775539.tar.bz2
gnustep-14314e3be5c49c38af34202c498a2d6106775539.zip
gnustep-apps/sogo: sope and sogo are now in portage
Diffstat (limited to 'gnustep-apps/sogo/files/sogod.initd')
-rw-r--r--gnustep-apps/sogo/files/sogod.initd33
1 files changed, 0 insertions, 33 deletions
diff --git a/gnustep-apps/sogo/files/sogod.initd b/gnustep-apps/sogo/files/sogod.initd
deleted file mode 100644
index c0dfcdc..0000000
--- a/gnustep-apps/sogo/files/sogod.initd
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-SOGOD_PID=/run/sogo/sogod.pid
-
-depend() {
- need net
- need memcached
- after postgresql mysql
- after slapd
- after mta
-}
-
-start() {
- checkpath -q -d -m 0755 -o sogo:sogo $(dirname "${SOGOD_PID}")
- ebegin "Starting SOGo service"
- start-stop-daemon --start --quiet \
- --user sogo --exec /usr/sbin/sogod \
- -- -WOWorkersCount ${SOGOD_WORKERS} \
- -WOLogFile /var/log/sogo/sogod.log \
- -WOPidFile "${SOGOD_PID}" \
- "${SOGOD_OPTS}"
- eend ${?}
-}
-
-stop() {
- ebegin "Stopping SOGo service"
- start-stop-daemon --stop \
- --pidfile "${SOGOD_PID}"
- eend ${?}
-}