summaryrefslogtreecommitdiffstats
path: root/roles/stream/templates/icecast-emacsconf.service
diff options
context:
space:
mode:
Diffstat (limited to 'roles/stream/templates/icecast-emacsconf.service')
-rw-r--r--roles/stream/templates/icecast-emacsconf.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/roles/stream/templates/icecast-emacsconf.service b/roles/stream/templates/icecast-emacsconf.service
new file mode 100644
index 0000000..a78f69b
--- /dev/null
+++ b/roles/stream/templates/icecast-emacsconf.service
@@ -0,0 +1,17 @@
+# {{ ansible_managed }}
+
+[Unit]
+Description=Icecast with EmacsConf config
+After=syslog.target network.target
+
+[Service]
+Type=simple
+User={{ icecast_user }}
+Group={{ icecast_group }}
+WorkingDirectory={{ etherpad_path }}
+ExecStart=node {{ etherpad_path }}/node_modules/ep_etherpad-lite/node/server.js
+Environment=NODE_ENV=production
+Restart=always
+
+[Install]
+WantedBy=multi-user.target