Commit 59433e2 1 parent 9ea6ca9 commit 59433e2 Copy full SHA for 59433e2
File tree 2 files changed +1
-2
lines changed
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 32
32
file : state=directory path=/var/log/uwsgi mode=0770 owner=root group=www-data
33
33
34
34
- name : Setup crontab to run uwsgi emperor on reboot
35
- cron : name="run uwsgi emperor" special_time=reboot job="/usr/local/bin/uwsgi --ini /etc/uwsgi/emperor.ini"
35
+ cron : name="run uwsgi emperor" special_time=reboot job="/usr/local/bin/uwsgi --ini /etc/uwsgi/emperor.ini --daemonize /var/log/uwsgi/emperor.log "
36
36
when : ansible_distribution == 'Debian' and ansible_lsb.major_release|int < 8
37
37
38
38
- name : Setup upstart job for the emperor
Original file line number Diff line number Diff line change 1
1
[uwsgi]
2
- daemonize = /var/log/uwsgi/emperor.log
3
2
pidfile = /run/uwsgi-emperor.pid
4
3
emperor = %d/vassals/*.ini
5
4
master = true
You can’t perform that action at this time.
0 commit comments