diff options
author | Vinicius Correa | 2018-03-25 06:59:51 +0000 |
---|---|---|
committer | Vinicius Correa | 2018-03-25 06:59:51 +0000 |
commit | f1d525aad68fa33acc5e7e959a978e72448da863 (patch) | |
tree | f2435308060152123278e8e0e2a99f6c0b3b00ee /stoq-server.install | |
parent | 34dc33e484cc141a9aba5be60e762b43d45cd4a0 (diff) | |
download | aur-f1d525aad68fa33acc5e7e959a978e72448da863.tar.gz |
autamated installation
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() { |