timezoned 455 B

1234567891011121314151617181920212223
  1. #!/bin/sh
  2. # PROVIDE: timezoned
  3. # REQUIRE: LOGIN cleanvar sshd
  4. . /etc/rc.subr
  5. name=timezoned
  6. rcvar=timezoned_enable
  7. : ${timezoned_enable="NO"}
  8. : ${timezoned_pidfile="/var/run/timezoned/timezoned.pid"}
  9. : ${timezoned_user="timezoned"}
  10. : ${timezoned_group="timezoned"}
  11. command="/usr/sbin/daemon"
  12. command_interpreter="/usr/local/bin/php"
  13. command_args="-c -f -r -P ${timezoned_pidfile} -r /home/timezoned/server"
  14. load_rc_config $name
  15. run_rc_command "$1"