Last active
October 8, 2022 09:47
-
-
Save asverty/295e35b94f71b3db20f863050fdddb53 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
sudo tee <<EOF >/dev/null /etc/systemd/system/iond.service | |
[Unit] | |
Description=IDEP_NODE | |
After=network-online.target | |
[Service] | |
User=$USER | |
ExecStart=$(which iond) start | |
Restart=always | |
RestartSec=10 | |
LimitNOFILE=65535 | |
[Install] | |
WantedBy=multi-user.target | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment