Created
July 16, 2023 10:08
-
-
Save csrutil/00404da7c9e54431d8e2d29c36832dce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
check process tailscale with pidfile /tmp/tailscale/tailscaled.pid | |
start program = "/share/CACHEDEV1_DATA/.qpkg/Tailscale/TailscaleWithLog.sh start" | |
stop program = "/share/CACHEDEV1_DATA/.qpkg/Tailscale/TailscaleWithLog.sh stop" | |
if failed host 127.0.0.1 port 41641 type udp then restart | |
group tailscale | |
#check process yfnode with pidfile /var/run/yfnode.pid | |
# start program = "/bin/bash -c '/share/external/DEV3301_1/ttnode_arm64/boot'" | |
# stop program = "/bin/kill -9 $(/bin/cat /var/run/yfnode.pid)" | |
# if 10 restarts with 10 cycles then timeout | |
# group yfnode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://mmonit.com/wiki/Monit/ConfigurationExamples