Skip to content

Instantly share code, notes, and snippets.

@asverty
Last active October 8, 2022 09:47
Show Gist options
  • Save asverty/295e35b94f71b3db20f863050fdddb53 to your computer and use it in GitHub Desktop.
Save asverty/295e35b94f71b3db20f863050fdddb53 to your computer and use it in GitHub Desktop.
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