From 455ab800ea52fb03ba3fd7510ca5b0360d2dff62 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 12 Jan 2021 16:04:29 +0100 Subject: [PATCH] Fix --- conf/coturn-galene.service | 2 +- scripts/install | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/coturn-galene.service b/conf/coturn-galene.service index 13c0687..5cf8abb 100644 --- a/conf/coturn-galene.service +++ b/conf/coturn-galene.service @@ -11,7 +11,7 @@ EnvironmentFile=/etc/default/coturn-__APP__ PIDFile=/run/coturn-__APP__/turnserver.pid RuntimeDirectory=coturn-__APP__ RuntimeDirectoryMode=0755 -ExecStart=/usr/bin/turnserver -o -c /etc/matrix-__APP__/coturn.conf $EXTRA_OPTIONS +ExecStart=/usr/bin/turnserver -o -c /etc/__APP__/coturn.conf $EXTRA_OPTIONS ExecStopPost=/bin/rm -f /run/coturn-__APP__/turnserver.pid Restart=on-abort diff --git a/scripts/install b/scripts/install index 31ae8b7..c6a3459 100755 --- a/scripts/install +++ b/scripts/install @@ -133,6 +133,7 @@ ynh_add_systemd_config mkdir -p /var/log/$app mkdir -p /etc/default/coturn-$app +mkdir -p /etc/$app # Create systemd service for turnserver cp ../conf/coturn/default_coturn /etc/default/coturn-$app ynh_add_systemd_config --service=coturn-$app --template=coturn-galene.service