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:
parent
3bcabc03b3
commit
09e51fc7b2
2 changed files with 2 additions and 4 deletions
|
@ -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__/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue