summarylogtreecommitdiffstats
path: root/turnserver.install
diff options
context:
space:
mode:
Diffstat (limited to 'turnserver.install')
-rw-r--r--turnserver.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/turnserver.install b/turnserver.install
index 4d4aab1ad73b..5af408d7d21b 100644
--- a/turnserver.install
+++ b/turnserver.install
@@ -1,13 +1,13 @@
post_install() {
id turnserver &>/dev/null || \
- useradd -r -g daemon -M -s /usr/bin/false turnserver
+ useradd -r -g daemon -d / -s /usr/bin/nologin turnserver
install -dm 755 "/var/log/turnserver"
chown -R turnserver:daemon /var/log/turnserver
systemd-tmpfiles --create turnserver.conf
-
+
echo "start server by issuing \"systemctl start turnserver.service\" or calling \"turnserver\""
}