This commit is contained in:
Jack L. Frost 2014-07-25 00:31:44 +04:00
parent 3b33553af3
commit ee684a94bc

View File

@ -1,9 +1,17 @@
#!/usr/bin/env watchman #!/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 unset reload
service_command='/usr/local/sbin/cjdroute-start' service_command='/usr/local/bin/run-cjdroute'
service_respawn=true #service_respawn=true
cjdroute_config='/etc/cjdroute.conf' cjdroute_config='/etc/cjdroute.conf'
cjdroute_admin_port='11234' cjdroute_admin_port='11234'