From 6205eb63c0047629f9f146c56fc8760c9bc2e65b Mon Sep 17 00:00:00 2001 From: Alexis Hovorka Date: Mon, 12 Jul 2021 16:00:04 -0600 Subject: Initial commit --- node-server.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 node-server.service (limited to 'node-server.service') 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 -- cgit v1.2.3-70-g09d2