1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Remplace /var/run by /run

This commit is contained in:
Josué Tille 2020-11-28 17:31:45 +01:00
parent aa027b1806
commit 1971cbca54
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
5 changed files with 7 additions and 7 deletions

View file

@ -8,11 +8,11 @@ User=turnserver
Group=turnserver
Type=forking
EnvironmentFile=/etc/default/coturn-__APP__
PIDFile=/var/run/coturn-__APP__/turnserver.pid
PIDFile=/run/coturn-__APP__/turnserver.pid
RuntimeDirectory=coturn-__APP__
RuntimeDirectoryMode=0755
ExecStart=/usr/bin/turnserver -o -c /etc/matrix-__APP__/coturn.conf $EXTRA_OPTIONS
ExecStopPost=/bin/rm -f /var/run/coturn-__APP__/turnserver.pid
ExecStopPost=/bin/rm -f /run/coturn-__APP__/turnserver.pid
Restart=on-abort
LimitCORE=infinity

View file

@ -11,7 +11,7 @@ server_name: "__SERVER_NAME__"
# When running as a daemon, the file to store the pid in
#
pid_file: /var/run/matrix-__APP__/homeserver.pid
pid_file: /run/matrix-__APP__/homeserver.pid
# The path to the web client which will be served at /_matrix/client/
# if 'webclient' is configured under the 'listeners' configuration.

View file

@ -8,7 +8,7 @@ location __PATH__ {
location __PATH__/cas_server.php {
alias /var/www/__APP__/;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php7.0-fpm-__NAME__.sock;
fastcgi_pass unix:/run/php7.0-fpm-__NAME__.sock;
include fastcgi_params;
fastcgi_param REMOTE_USER $remote_user;
fastcgi_param PATH_INFO $fastcgi_path_info;

View file

@ -30,7 +30,7 @@ group = matrix-__USER__
; specific port;
; '/path/to/unix/socket' - to listen on a unix socket.
; Note: This value is mandatory.
listen = /var/run/php7.0-fpm-__NAMETOCHANGE__.sock
listen = /run/php7.0-fpm-__NAMETOCHANGE__.sock
; Set listen(2) backlog. A value of '-1' means unlimited.
; Default Value: 128 (-1 on FreeBSD and OpenBSD)

View file

@ -24,5 +24,5 @@ no-multicast-peers
no-cli
log-file=/var/log/matrix-__APP__/turnserver.log
pidfile=/var/run/coturn-__APP__/turnserver.pid
pidfile=/run/coturn-__APP__/turnserver.pid
simple-log