mirror of
https://github.com/eddyem/small_tel.git
synced 2026-03-20 08:41:03 +03:00
add bta weather data to weatherdaemon
This commit is contained in:
3
Daemons/README_install/Readme
Normal file
3
Daemons/README_install/Readme
Normal file
@@ -0,0 +1,3 @@
|
||||
Создать директорию /var/log/telescopes (хозяин - eddy)
|
||||
В local.d запускать netdaemons_start
|
||||
Ротация логов - robotel -> /etc/logrotate.d
|
||||
13
Daemons/README_install/netdaemons_start
Normal file
13
Daemons/README_install/netdaemons_start
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
LOGDIR=/var/log/telescope
|
||||
|
||||
killall teldaemon
|
||||
killall domedaemon
|
||||
killall stellariumdaemon
|
||||
killall -9 teldaemon
|
||||
killall -9 domedaemon
|
||||
killall -9 stellariumdaemon
|
||||
|
||||
~/bin/teldaemon -d /dev/ttyS0 -l ${LOGDIR}/teldaemon.log
|
||||
~/bin/domedaemon -d /dev/ttyS2 -l ${LOGDIR}/domedaemon.log
|
||||
~/bin/stellariumdaemon -d /dev/ttyS1 -l ${LOGDIR}/stellariumdaemon.log
|
||||
7
Daemons/README_install/robotel
Normal file
7
Daemons/README_install/robotel
Normal file
@@ -0,0 +1,7 @@
|
||||
/var/log/telescope/*.log {
|
||||
size 1M
|
||||
rotate 10
|
||||
compress
|
||||
notifempty
|
||||
missingok
|
||||
}
|
||||
Reference in New Issue
Block a user