1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

celery service set the permission on the socket

This commit is contained in:
Maniack Crudelis 2020-05-04 00:34:25 +02:00
parent 3bcabc03b3
commit 09e51fc7b2
2 changed files with 2 additions and 4 deletions

View file

@ -5,7 +5,7 @@ After=network.target
[Service]
Type=forking
User=__APP__
Group=__APP__
Group=www-data
PermissionsStartOnly=true
EnvironmentFile=__FINALPATH__/celery-weblate
WorkingDirectory=__FINALPATH__/

View file

@ -19,9 +19,7 @@ ExecStart=/usr/bin/uwsgi \
--socket /var/run/__APP__/socket \
--chmod-socket=775 \
--logto /var/log/__APP__/weblate.log \
--processes 4 \
--uid=__APP__ \
--gid=www-data
--processes 4
Restart=on-failure