mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
Fix uwsgi folder for reboots
This commit is contained in:
parent
ee27947a0b
commit
f4907c50cb
1 changed files with 3 additions and 3 deletions
|
@ -8,9 +8,9 @@ ynh_check_global_uwsgi_config () {
|
|||
cp ../conf/uwsgi-app@.service /etc/systemd/system/uwsgi-app@.service
|
||||
|
||||
# make sure the folder for sockets exists and set authorizations
|
||||
mkdir -p /var/run/uwsgi/
|
||||
chown root:www-data /var/run/uwsgi/
|
||||
chmod -R 775 /var/run/uwsgi/
|
||||
# make sure it exists on every startup
|
||||
echo "d /var/run/uwsgi 0775 root www-data" > /usr/lib/tmpfiles.d/uwsgi.conf
|
||||
systemd-tmpfiles --create
|
||||
|
||||
# make sure the folder for logs exists and set authorizations
|
||||
mkdir -p /var/log/uwsgi/app/
|
||||
|
|
Loading…
Reference in a new issue