--- contrib/bmc-snmp-proxy | 4 ++++ contrib/bmc-snmp-proxy.service | 4 ++-- contrib/exchange-bmc-os-info.service.redhat | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) --- a/contrib/bmc-snmp-proxy +++ b/contrib/bmc-snmp-proxy @@ -14,6 +14,10 @@ # # Assumptions: This script will work only when /etc/snmp/ is writable. # +# Provides: bmc-snmp-proxy +# Required-Start: ipmi snmp +# Default-Start: 3 4 5 +# Default-Stop: 0 1 2 6 ############################################################################# # GLOBALS ############################################################################# --- a/contrib/bmc-snmp-proxy.service +++ b/contrib/bmc-snmp-proxy.service @@ -11,8 +11,8 @@ Type=oneshot RemainAfterExit=yes -ExecStart=/usr/libexec/bmc-snmp-proxy start -ExecStop=/usr/libexec/bmc-snmp-proxy stop +ExecStart=/usr/sbin/bmc-snmp-proxy start +ExecStop=/usr/sbin/bmc-snmp-proxy stop [Install] WantedBy=multi-user.target --- a/contrib/exchange-bmc-os-info.service.redhat +++ b/contrib/exchange-bmc-os-info.service.redhat @@ -7,8 +7,8 @@ [Service] Type=oneshot RemainAfterExit=yes -ExecStart=/usr/libexec/exchange-bmc-os-info start -ExecStop=/usr/libexec/exchange-bmc-os-info stop +ExecStart=/usr/sbin/exchange-bmc-os-info start +ExecStop=/usr/sbin/exchange-bmc-os-info stop [Install] WantedBy=multi-user.target