blob: 766b37ff550d87d0db32c059fc7f14f83cb6f84d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/sbin/runscript
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
depend() {
need net
after postgresql
}
start() {
ebegin "Starting SOGo service"
start-stop-daemon --start --exec /usr/GNUstep/System/Tools/Admin/sogod \
--chuid sogo -m -b --pidfile /var/run/sope.pid
eend $?
}
stop() {
ebegin "Stopping SOGo service"
start-stop-daemon --stop \
--pidfile /var/run/sope.pid
eend $?
}
|