From 21b051177dc5897d239e6532f5f245a32f7dfb36 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Thu, 20 Oct 2022 14:52:23 -0400 Subject: Starting point for icecast config --- roles/stream/templates/icecast-emacsconf.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 roles/stream/templates/icecast-emacsconf.service (limited to 'roles/stream/templates/icecast-emacsconf.service') 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 -- cgit v1.2.3