* clixon_restconf and clixon_netconf now take -D <level> as command-line option\
instead of just -D * This aligns to clixon_cli and clixon_backend
This commit is contained in:
parent
10ada483e5
commit
7c94991fe9
10 changed files with 18 additions and 14 deletions
|
|
@ -15,8 +15,8 @@ clixon_cli=clixon_cli
|
|||
clixon_netconf=clixon_netconf
|
||||
|
||||
# How to run restconf stand-alone and using valgrind
|
||||
#sudo su -c "/www-data/clixon_restconf -f $cfg -D" -s /bin/sh www-data
|
||||
#sudo su -c "valgrind --leak-check=full --show-leak-kinds=all /www-data/clixon_restconf -f $cfg -D" -s /bin/sh www-data
|
||||
#sudo su -c "/www-data/clixon_restconf -f $cfg -D 1" -s /bin/sh www-data
|
||||
#sudo su -c "valgrind --leak-check=full --show-leak-kinds=all /www-data/clixon_restconf -f $cfg -D 1" -s /bin/sh www-data
|
||||
|
||||
#clixon_backend="valgrind --leak-check=full --show-leak-kinds=all clixon_backend"
|
||||
clixon_backend=clixon_backend
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ new "kill old restconf daemon"
|
|||
sudo pkill -u www-data clixon_restconf
|
||||
|
||||
new "start restconf daemon"
|
||||
sudo start-stop-daemon -S -q -o -b -x /www-data/clixon_restconf -d /www-data -c www-data -- -f $cfg -y $fyang # -D
|
||||
sudo start-stop-daemon -S -q -o -b -x /www-data/clixon_restconf -d /www-data -c www-data -- -f $cfg -y $fyang # -D 1
|
||||
|
||||
sleep 1
|
||||
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ new "kill old restconf daemon"
|
|||
sudo pkill -u www-data clixon_restconf
|
||||
|
||||
new "start restconf daemon"
|
||||
sudo start-stop-daemon -S -q -o -b -x /www-data/clixon_restconf -d /www-data -c www-data -- -f $cfg -y $fyang -D
|
||||
sudo start-stop-daemon -S -q -o -b -x /www-data/clixon_restconf -d /www-data -c www-data -- -f $cfg -y $fyang # -D 1
|
||||
|
||||
sleep 1
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ new "kill old restconf daemon"
|
|||
sudo pkill -u www-data clixon_restconf
|
||||
|
||||
new "start restconf daemon"
|
||||
sudo start-stop-daemon -S -q -o -b -x /www-data/clixon_restconf -d /www-data -c www-data -- -f $cfg # -D
|
||||
sudo start-stop-daemon -S -q -o -b -x /www-data/clixon_restconf -d /www-data -c www-data -- -f $cfg # -D 1
|
||||
|
||||
sleep 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue