diff --git a/packaging/common/script-templates/rpm-script-common.sh b/packaging/common/script-templates/rpm-script-common.sh index da1826b88..0fdd5ef8b 100644 --- a/packaging/common/script-templates/rpm-script-common.sh +++ b/packaging/common/script-templates/rpm-script-common.sh @@ -30,7 +30,7 @@ platform_service() if [ -x /bin/systemctl ]; then /bin/systemctl "$2" "$1".service else - /etc/init.d/"$1" "$2" + `rc_d_path`/init.d/"$1" "$2" fi }