You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ezTime/server/timezoned

23 lines
455 B

#!/bin/sh
# PROVIDE: timezoned
# REQUIRE: LOGIN cleanvar sshd
. /etc/rc.subr
name=timezoned
rcvar=timezoned_enable
: ${timezoned_enable="NO"}
: ${timezoned_pidfile="/var/run/timezoned/timezoned.pid"}
: ${timezoned_user="timezoned"}
: ${timezoned_group="timezoned"}
command="/usr/sbin/daemon"
command_interpreter="/usr/local/bin/php"
command_args="-c -f -r -P ${timezoned_pidfile} -r /home/timezoned/server"
load_rc_config $name
run_rc_command "$1"