local configuration should be separate

This commit is contained in:
2014-04-04 15:40:00 +04:00
parent e1353f46cf
commit 99533f46c0
5 changed files with 8 additions and 13 deletions

View File

@@ -3,10 +3,9 @@
unset reload
service_command='/usr/bin/cjdroute'
cjdroute_config='/etc/cjdroute.conf'
cjdroute_tun_interface='cjdns0'
cjdroute_listen_port='7530'
source "${cfg_dir}/conf.d/cjdroute.sh"
service_pid=`lsof -i :"$cjdroute_listen_port" | tail -1 | cut -d ' ' -f 2`