Skip to content

Instantly share code, notes, and snippets.

@bachkukkik
Last active November 26, 2020 01:46
Show Gist options
  • Save bachkukkik/4965c98d54db5eacd00cac9d8b244601 to your computer and use it in GitHub Desktop.
Save bachkukkik/4965c98d54db5eacd00cac9d8b244601 to your computer and use it in GitHub Desktop.
start ngork on system boot
#### cat /etc/systemd/system/ngrok_8888_self_restart.service
[Unit]
Description= bachkukkik_xavier start ngork on system boot
[Service]
Type=simple
PIDFile=/run/ngrok_jupyter.pid
ExecStart=/home/<your username>/ngrok http http://localhost:8888
User=<your username>
Group=<your group>
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment