From 5e634d62d599c60a34f405e26ef0c3037e9a37a3 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 25 Oct 2015 12:09:29 +0100 Subject: o Experimenting with grunt. --- systemd/.gitignore | 1 + systemd/diller-mqtt.template.service | 13 +++++++++++++ systemd/diller-web.template.service | 13 +++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 systemd/.gitignore create mode 100644 systemd/diller-mqtt.template.service create mode 100644 systemd/diller-web.template.service (limited to 'systemd') diff --git a/systemd/.gitignore b/systemd/.gitignore new file mode 100644 index 0000000..0e3ad1b --- /dev/null +++ b/systemd/.gitignore @@ -0,0 +1 @@ +*.service diff --git a/systemd/diller-mqtt.template.service b/systemd/diller-mqtt.template.service new file mode 100644 index 0000000..30bd78f --- /dev/null +++ b/systemd/diller-mqtt.template.service @@ -0,0 +1,13 @@ +[Service] +ExecStart=/usr/bin/nodejs diller-mqtt.js +WorkingDirectory=%WorkingDirectory% +Restart=always +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=diller +User=%User% +Group=%Group% +Environment=NODE_ENV=%NODE_ENV% + +[Install] +WantedBy=multi-user.target 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 -- cgit v1.2.3