This commit is contained in:
2014-06-28 10:54:06 +04:00
parent 20f1cad363
commit c9168818d4
8 changed files with 31 additions and 12 deletions

View File

@@ -5,7 +5,6 @@ unset reload
service_command='/usr/bin/cjdroute'
cjdroute_config='/etc/cjdroute.conf'
cjdroute_admin_port='11234'
cjdroute.check_tun_module() {
@@ -29,5 +28,7 @@ start() {
return 1
}
"$service_command" < "$cjdroute_config" &>"$service_logfile"
"$service_command" < "${cjdroute_config}" &>"$service_logfile" && {
watchman.msg "${service_name} started"
}
}