Last active
April 9, 2018 15:36
-
-
Save JohannesBauer97/7092dad5a86ecd4d6a5e61990681cd5f to your computer and use it in GitHub Desktop.
NodeJS Systemd Start/Stop Unit
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
[Unit] | |
Description=Controls Gamerino Channelwatcher REST API | |
After=network.target mysql.service | |
[Service] | |
User=nodejs | |
ExecStart=/usr/bin/node /home/websites/TSChannelWatcher/api/index.js | |
Restart=always | |
[Install] | |
WantedBy=basic.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment