mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
f63248c66e
- Update to 2.3.10 PR: 208406 Submitted by: me Approved by: maintainer (Euan Thoms <euan at potensol.com>)
29 lines
552 B
Bash
29 lines
552 B
Bash
#!/bin/sh
|
|
|
|
# $FreeBSD$
|
|
#
|
|
# PROVIDE: sogod
|
|
# REQUIRE: NETWORKING
|
|
# KEYWORD: shutdown
|
|
|
|
. /etc/rc.subr
|
|
|
|
name=sogod
|
|
rcvar=sogod_enable
|
|
|
|
load_rc_config ${name}
|
|
|
|
: ${sogod_enable:=NO}
|
|
|
|
command=%%GNUSTEP_LOCAL_TOOLS%%/Admin/${name}
|
|
pidfile=/var/run/sogo/sogo.pid
|
|
|
|
sogod_user=${name}
|
|
sogod_group=${name}
|
|
|
|
start_precmd="cd /; . %%GNUSTEP_MAKEFILES%%/GNUstep.sh; install -d -m 775 -g ${sogod_group} /var/log/sogo /var/run/sogo"
|
|
stop_precmd='cd /; . %%GNUSTEP_MAKEFILES%%/GNUstep.sh'
|
|
restart_precmd='cd /; . %%GNUSTEP_MAKEFILES%%/GNUstep.sh'
|
|
|
|
run_rc_command "$1"
|