diff --git a/init.d/cjdroute b/init.d/cjdroute index ab6ebe6..9558a64 100755 --- a/init.d/cjdroute +++ b/init.d/cjdroute @@ -1,9 +1,17 @@ #!/usr/bin/env watchman +# Two warnings: +# 1) This script uses a script to run cjdroute and feed it +# the config: http://pastie.org/9418234 +# The script is on its way to the main cjdns repo, but it's +# not in there yet: https://github.com/cjdelisle/cjdns/pull/601 +# 2) service_respawn is disabled by default because you need +# "noBackground":1 in cjdroute.conf for it to actually work. +# Barely. unset reload -service_command='/usr/local/sbin/cjdroute-start' -service_respawn=true +service_command='/usr/local/bin/run-cjdroute' +#service_respawn=true cjdroute_config='/etc/cjdroute.conf' cjdroute_admin_port='11234'