diff options
author | Alexis Hovorka <[email protected]> | 2022-01-09 19:53:09 -0700 |
---|---|---|
committer | Alexis Hovorka <[email protected]> | 2022-01-09 19:53:09 -0700 |
commit | 0278a785d3ae63117215050899ac4b053bfe3e55 (patch) | |
tree | 04aab7d3741107980433d4316eef5f7e0e4926ff /app/node-server.service |
Initial commit
Diffstat (limited to 'app/node-server.service')
-rw-r--r-- | app/node-server.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/node-server.service b/app/node-server.service new file mode 100644 index 0000000..42c1e8f --- /dev/null +++ b/app/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 |