# cat /opt/huawei-onu-to-graphite/run.sh
#!/usr/bin/env bash
while sleep 8; do
#timeout 8 /opt/huawei-onu-to-graphite/huawei-onu-to-graphite-http.py &
#timeout 8 /opt/huawei-onu-to-graphite/huawei-onu-to-graphite-telnet.py &
done
exit 0
# cat /etc/systemd/system/huawei-ont-stats.service
[Unit]
Description=huawei-ont-stats
After=time-sync.target
[Service]
ExecStart=/opt/huawei-onu-to-graphite/run.sh
WorkingDirectory=/opt/huawei-onu-to-graphite
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target
loiklo/huawei-onu-to-graphite
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published