From ee684a94bc500cb84bc8298a0022849a53e3d0a6 Mon Sep 17 00:00:00 2001 From: fbt Date: Fri, 25 Jul 2014 00:31:44 +0400 Subject: [PATCH] cjdroute --- init.d/cjdroute | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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'