upgrade-policy-rc.d.j2 (602B)
1 #!/bin/sh 2 # Keep managed applications stopped during the system-wide upgrade. Delegate 3 # other service actions to the administrator's policy, if one was installed. 4 service_name=$1 5 if [ "$service_name" = --quiet ]; then 6 service_name=$2 7 fi 8 case "$service_name" in 9 taler-exchange*|taler-auditor*|taler-helper-auditor*|libeufin-nexus*|challenger-httpd*|sms-challenger-httpd*|email-challenger-httpd*|postal-challenger-httpd*) 10 exit 101 11 ;; 12 esac 13 {% if common_upgrade_original_policy.stat.exists %} 14 exec {{ common_upgrade_policy_backup.path | quote }} "$@" 15 {% else %} 16 exit 0 17 {% endif %}