Adaptions for ARMv7

This commit is contained in:
Olof Hagsand 2019-04-03 09:29:49 +01:00 committed by Olof hagsand
parent a2f0dc2e7d
commit 24181a2933
8 changed files with 18 additions and 14 deletions

View file

@ -141,11 +141,12 @@ server {
```
Start nginx daemon
```
sudo /etc/init.d/nginx start
sudo /etc/init.d/nginx start
sudo systemctl start nginx.service # alternative using systemd
```
Start the clixon restconf daemon
```
sudo su -c "/www-data/clixon_restconf -f /usr/local/etc/example.xml " -s /bin/sh www-data
sudo su -c "/www-data/clixon_restconf -f /usr/local/etc/example.xml " -s /bin/sh www-data
```
then access using curl or wget:
```
@ -322,4 +323,4 @@ static clixon_plugin_api api = {
.ca_suspend=NULL, /* cligen_susp_cb_t */
.ca_interrupt=NULL, /* cligen_interrupt_cb_t */
};
```
```

View file

@ -542,7 +542,7 @@ clixon_plugin_init(clicon_handle h)
struct timeval retention = {0,0};
int argc; /* command-line options (after --) */
char **argv;
char c;
int c;
clicon_debug(1, "%s backend", __FUNCTION__);

View file

@ -40,7 +40,6 @@
#include <ctype.h>
#include <signal.h>
#include <fcgiapp.h>
#include <curl/curl.h>
/* cligen */
#include <cligen/cligen.h>
@ -329,7 +328,7 @@ clixon_plugin_init(clicon_handle h)
{
int argc; /* command-line options (after --) */
char **argv = NULL;
char c;
int c;
clicon_debug(1, "%s restconf", __FUNCTION__);
/* Get user command-line options (after --) */