aboutsummaryrefslogtreecommitdiff
path: root/systemd/diller-web.template.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/diller-web.template.service')
-rw-r--r--systemd/diller-web.template.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/diller-web.template.service b/systemd/diller-web.template.service
new file mode 100644
index 0000000..ad48fa5
--- /dev/null
+++ b/systemd/diller-web.template.service
@@ -0,0 +1,13 @@
+[Service]
+ExecStart=/usr/bin/nodejs diller-web.js
+WorkingDirectory=%WorkingDirectory%
+Restart=always
+StandardOutput=syslog
+StandardError=syslog
+SyslogIdentifier=diller
+User=%User%
+Group=%Group%
+Environment=NODE_ENV=%NODE_ENV% HTTP_PORT=1337
+
+[Install]
+WantedBy=multi-user.target