Changed -f /usr/local/etc/example.xml -> /usr/local/etc/clixon/example.xml everywhere
This commit is contained in:
parent
60fdb65ee0
commit
af36838b4c
9 changed files with 37 additions and 37 deletions
|
|
@ -68,7 +68,7 @@ Or on FreeBSD:
|
|||
|
||||
Start clixon backend daemon (if not already started)
|
||||
```
|
||||
sudo clixon_backend -s init -f /usr/local/etc/example.xml
|
||||
sudo clixon_backend -s init -f /usr/local/etc/clixon/example.xml
|
||||
```
|
||||
|
||||
Start clixon restconf daemon
|
||||
|
|
@ -213,7 +213,7 @@ See (https://nchan.io/#eventsource) on more info on how to access an SSE sub end
|
|||
|
||||
Start the restconf fastcgi program with debug flag:
|
||||
```
|
||||
sudo clixon_restconf -D 1 -f /usr/local/etc/example.xml
|
||||
sudo clixon_restconf -D 1 -f /usr/local/etc/clixon/example.xml
|
||||
```
|
||||
Look at syslog:
|
||||
```
|
||||
|
|
@ -228,7 +228,7 @@ curl -G http://127.0.0.1/restconf/data/*
|
|||
You can also run restconf in a debugger.
|
||||
```
|
||||
sudo gdb clixon_restconf
|
||||
(gdb) run -D 1 -f /usr/local/etc/example.xml
|
||||
(gdb) run -D 1 -f /usr/local/etc/clixon/example.xml
|
||||
```
|
||||
but you need to ensure /www-data/fastcgi_restconf.sock has the following access (may need to be done after restconf has started)
|
||||
```
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
* sudo apt-get install libfcgi-dev
|
||||
* gcc -o fastcgi fastcgi.c -lfcgi
|
||||
|
||||
* sudo su -c "/www-data/clixon_restconf -D 1 -f /usr/local/etc/example.xml " -s /bin/sh www-data
|
||||
* sudo su -c "/www-data/clixon_restconf -D 1 -f /usr/local/etc/clixon/example.xml" -s /bin/sh www-data
|
||||
|
||||
* This is the interface:
|
||||
* api/data/profile=<name>/metric=<name> PUT data:enable=<flag>
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
* sudo apt-get install libfcgi-dev
|
||||
* gcc -o fastcgi fastcgi.c -lfcgi
|
||||
|
||||
* sudo su -c "/www-data/clixon_restconf -D 1 f /usr/local/etc/example.xml " -s /bin/sh www-data
|
||||
* sudo su -c "/www-data/clixon_restconf -D 1 f /usr/local/etc/clixon/example.xml " -s /bin/sh www-data
|
||||
|
||||
* This is the interface:
|
||||
* api/data/profile=<name>/metric=<name> PUT data:enable=<flag>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue