Last active
November 26, 2020 01:46
-
-
Save bachkukkik/4965c98d54db5eacd00cac9d8b244601 to your computer and use it in GitHub Desktop.
start ngork on system boot
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
#### 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