Доработка алгоритма пик ходера для уровня сигнала (амплитуды от обнаружителя)
This commit is contained in:
@@ -9,8 +9,15 @@ User=user
|
||||
Group=user
|
||||
WorkingDirectory=/home/user/temp/golang
|
||||
|
||||
# Запуск сервера
|
||||
ExecStart=/home/user/temp/golang/build/gpio-monitor-server -pipe /tmp/gpio_pipe
|
||||
# Запуск сервера с параметрами для 72-часового хранения
|
||||
ExecStart=/home/user/temp/golang/build/gpio-monitor-server \
|
||||
-pipe /tmp/gpio_pipe \
|
||||
-retention-hours=72 \
|
||||
-retention-mb=2000 \
|
||||
-retention-interval=60 \
|
||||
-rotation-check-interval=1 \
|
||||
-buffer-size=10240 \
|
||||
-human-log-interval=5
|
||||
|
||||
# Перезапуск при падении
|
||||
Restart=on-failure
|
||||
@@ -26,4 +33,4 @@ StandardError=journal
|
||||
SyslogIdentifier=gpio-monitor
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user