diff options
Diffstat (limited to 'stoq-server.install')
-rw-r--r-- | stoq-server.install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stoq-server.install b/stoq-server.install index 2fb13921cc9a..3b301ec9f6b5 100644 --- a/stoq-server.install +++ b/stoq-server.install @@ -96,6 +96,11 @@ EOF # Fix directory permissions chown -R stoqserver:stoqserver /usr/share/stoqserver chmod g+rwx -R /usr/share/stoqserver + + stoq_sup=$(grep 'files = /etc/supervisor/conf.d/\*.conf' /etc/supervisord.conf) + if [ "$stoq_sup" != "files = /etc/supervisor/conf.d/*.conf" ]; then + echo 'files = /etc/supervisor/conf.d/*.conf' >> /etc/supervisord.conf + fi } post_upgrade() { |