diff --git a/conf/synapse-coturn.service b/conf/synapse-coturn.service index ddd47dd..d02409b 100644 --- a/conf/synapse-coturn.service +++ b/conf/synapse-coturn.service @@ -6,10 +6,12 @@ After=syslog.target network-online.target [Service] User=turnserver Group=turnserver -Type=simple +Type=notify EnvironmentFile=/etc/default/coturn-__APP__ ExecStart=/usr/bin/turnserver -c /etc/matrix-__APP__/coturn.conf $EXTRA_OPTIONS --pidfile= -Restart=on-abort +Restart=on-failure +InaccessibleDirectories=/home +PrivateTmp=yes LimitCORE=infinity LimitNOFILE=999999