From 0278a785d3ae63117215050899ac4b053bfe3e55 Mon Sep 17 00:00:00 2001 From: Alexis Hovorka Date: Sun, 9 Jan 2022 19:53:09 -0700 Subject: Initial commit --- app/node-server.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/node-server.service (limited to 'app/node-server.service') 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 -- cgit v1.2.3-70-g09d2