summaryrefslogtreecommitdiffstats
path: root/roles/stream/templates/icecast-emacsconf.service
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-10-20 14:52:23 -0400
committerSacha Chua <sacha@sachachua.com>2022-10-20 14:52:23 -0400
commit21b051177dc5897d239e6532f5f245a32f7dfb36 (patch)
tree5a76d681a639d4aff9af291fb8564fd92dd94cef /roles/stream/templates/icecast-emacsconf.service
parentec95e5829cdf179be145b229eb3e92178d0e92b8 (diff)
downloademacsconf-ansible-21b051177dc5897d239e6532f5f245a32f7dfb36.tar.xz
emacsconf-ansible-21b051177dc5897d239e6532f5f245a32f7dfb36.zip
Starting point for icecast config
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