Last active
February 13, 2021 12:48
-
-
Save da-tai/c4197b3e6907813448033a7d561b2c06 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
[Unit] | |
Description= Update Node information | |
#After=mongod.service | |
#StartLimitBurst=5 | |
#StartLimitIntervalSec=10 | |
[Service] | |
Type=simple | |
Restart=always | |
RestartSec=1 | |
RuntimeMaxSec=3600 | |
WorkingDirectory=/home/ubuntu/node_check | |
ExecStart=/usr/bin/python3 /home/ubuntu/node_check/orange_node.py | |
LimitNOFILE=999999 | |
LimitNPROC=999999 | |
StandardOutput=syslog | |
StandardError=syslog | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment