diff options
author | Alexis Hovorka <[email protected]> | 2021-07-12 16:00:04 -0600 |
---|---|---|
committer | Alexis Hovorka <[email protected]> | 2021-07-12 16:00:04 -0600 |
commit | 6205eb63c0047629f9f146c56fc8760c9bc2e65b (patch) | |
tree | ea31d7af45482a8228911b49edcb95fc91ae34c1 /node-server.service |
Initial commit
Diffstat (limited to 'node-server.service')
-rw-r--r-- | node-server.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/node-server.service b/node-server.service new file mode 100644 index 0000000..42c1e8f --- /dev/null +++ b/node-server.service @@ -0,0 +1,13 @@ +[Service] +ExecStart=/usr/bin/node /srv/http/appname/app.js +Restart=always +WorkingDirectory=/srv/http/appname +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=appname +User=alexis +Group=users +Environment=PORT=8080 + +[Install] +WantedBy=multi-user.target |