2014-08-30 01:38:26 +03:00
|
|
|
[inet_http_server]
|
|
|
|
port = *:9001
|
2014-09-01 22:21:27 +03:00
|
|
|
username = admin
|
|
|
|
password = muflon
|
2014-08-30 01:38:26 +03:00
|
|
|
|
|
|
|
[program:gpsd]
|
2014-09-01 23:29:18 +03:00
|
|
|
command=/usr/sbin/gpsd -N -n -F /var/run/gpsd.sock -P /var/run/gpsd.pid /dev/ttyAMA0 -D 2
|
2014-08-30 01:38:26 +03:00
|
|
|
numprocs=1
|
|
|
|
priority=1
|
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
2014-09-01 23:29:18 +03:00
|
|
|
redirect_stderr=true
|
2014-08-30 01:38:26 +03:00
|
|
|
|
2014-08-30 13:36:28 +03:00
|
|
|
[program:time-from-gps-oneshot]
|
2014-09-01 23:29:18 +03:00
|
|
|
command=/usr/bin/python -u /opt/gps-timekeep/time-from-gps/time-from-gps.py
|
2014-09-01 22:21:27 +03:00
|
|
|
directory=/opt/gps-timekeep/time-from-gps
|
2014-08-30 13:36:28 +03:00
|
|
|
numprocs=1
|
|
|
|
priority=2
|
|
|
|
autostart=true
|
|
|
|
autorestart=false
|
2014-09-01 23:29:18 +03:00
|
|
|
redirect_stderr=true
|
2014-08-30 13:36:28 +03:00
|
|
|
|
2014-08-30 01:38:26 +03:00
|
|
|
[program:gps-watcher]
|
2014-09-01 23:29:18 +03:00
|
|
|
command=/usr/bin/python -u /opt/gps-timekeep/watcher-daemon/gps-watcher.py
|
2014-08-30 01:38:26 +03:00
|
|
|
directory=/opt/gps-timekeep/watcher-daemon
|
|
|
|
numprocs=1
|
2014-08-30 13:36:28 +03:00
|
|
|
priority=10
|
|
|
|
autostart=false
|
2014-08-30 01:38:26 +03:00
|
|
|
autorestart=true
|
2014-09-01 23:29:18 +03:00
|
|
|
redirect_stderr=true
|
|
|
|
stdout_logfile=/var/log/gps-watcher.log
|
2014-08-30 01:38:26 +03:00
|
|
|
|
|
|
|
[program:rpi_gpio_ntp]
|
|
|
|
command=/opt/gps-timekeep/bin/rpi_gpio_ntp -f -N 1 -g 18
|
|
|
|
numprocs=1
|
|
|
|
priority=100
|
|
|
|
autostart=false
|
|
|
|
autorestart=false
|
2014-09-01 23:29:18 +03:00
|
|
|
redirect_stderr=true
|
2014-08-30 01:38:26 +03:00
|
|
|
|
|
|
|
[program:ntpd]
|
2014-09-01 23:29:18 +03:00
|
|
|
command=/usr/sbin/ntpd -n -c /opt/gps-timekeep/configs/ntp.conf -p /var/run/ntpd.pid -g -u 102:104 -l /var/log/ntpd.log
|
2014-08-30 01:38:26 +03:00
|
|
|
numprocs=1
|
|
|
|
priority=200
|
|
|
|
autostart=false
|
|
|
|
autorestart=false
|
2014-09-01 23:29:18 +03:00
|
|
|
redirect_stderr=true
|
|
|
|
stdout_logfile=/var/log/ntpd.log
|
2014-08-30 01:38:26 +03:00
|
|
|
|
|
|
|
[program:lighttpd]
|
|
|
|
command=/usr/sbin/lighttpd -D -f /opt/gps-timekeep/configs/lighttpd.conf
|
|
|
|
numprocs=1
|
|
|
|
priority=300
|
|
|
|
autostart=true
|
|
|
|
autorestart=true
|
2014-09-01 23:29:18 +03:00
|
|
|
redirect_stderr=true
|
|
|
|
stdout_logfile=/var/log/lighttpd/error.log
|