aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
index 387098c..aada0ac 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,26 @@ Run Diller:
This assumes that you have `gulp` installed globally. If you don't you can run `./node_modules/.bin/gulp`.
+## Installing services under Systemd
+
+Generate service configuration:
+
+ grunt gen-systemd
+
+Install services
+
+ sudo ln -s `pwd`/systemd/diller-mqtt.service /etc/systemd/system
+ sudo ln -s `pwd`/systemd/diller-web.service /etc/systemd/system
+ sudo systemctl --system daemon-reload
+
+Start daemons
+
+ sudo systemctl start diller-mqtt
+ sudo systemctl start diller-web
+
+ sudo systemctl status diller-mqtt
+ sudo systemctl status diller-web
+
# MQTT topics
/diller