install_handlers.sh 528 B

12345678910111213141516
  1. # Checking for webservice_running/handlers/.env
  2. if [ -f webservice_running/handlers/.env ]; then
  3. echo "env file for handlers already exists. "
  4. else
  5. echo_warning "Creating env file for handlers."
  6. cp webservice_running/handlers/.env.example webservice_running/handlers/.env
  7. echo_success "Created env file for handlers."
  8. fi
  9. echo_warning "Installation handlers"
  10. webservice_running/handlers/conf/bin/install.sh
  11. echo_warning "Reloading systemd daemon"
  12. systemctl daemon-reload
  13. echo_success "Reloaded systemd daemon"