Feature/Add supervisor services ()

* Add supervisor services

* Add installation of the DOCKER_INSTALLATION variable
This commit is contained in:
Evgeniy Antonyuk 2022-10-31 17:19:10 +03:00 committed by GitHub
parent 784ecca724
commit 6c0c7085c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 58 additions and 0 deletions

View file

@ -496,6 +496,8 @@ update_supervisor_settings(){
cp ${SYSCONF_TEMPLATES_DIR}/supervisor/supervisor /etc/init.d/
# Copy modified supervisor config
cp ${SYSCONF_TEMPLATES_DIR}/supervisor/supervisord.conf /etc/supervisor/supervisord.conf
sed "s/COMPANY_NAME/${COMPANY_NAME}/g" -i ${SYSCONF_TEMPLATES_DIR}/supervisor/ds/*.conf
cp ${SYSCONF_TEMPLATES_DIR}/supervisor/ds/*.conf etc/supervisor/conf.d/
}
update_log_settings(){