Created
November 21, 2017 15:54
-
-
Save KidkArolis/b6861b42ddf3a84564577fc166a09e09 to your computer and use it in GitHub Desktop.
Node.js systemd
This file contains hidden or 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=Playe Controller | |
[Service] | |
ExecStart=/usr/bin/node /home/pi/play/play-controller/controller.js | |
Restart=always | |
RestartSec=5 | |
StandardOutput=syslog | |
StandardError=syslog | |
SyslogIdentifier=play-controller | |
User=pi | |
Environment=NODE_ENV=production | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment