Skip to content

Commit 79e2b98

Browse files
authored
Merge pull request #498 from vpodzime/master-rpm_aix_platform_service
Fix platform_service() on AIX in RPM packages
2 parents 4c05517 + f30d69e commit 79e2b98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/common/script-templates/rpm-script-common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ platform_service()
3030
if [ -x /bin/systemctl ]; then
3131
/bin/systemctl "$2" "$1".service
3232
else
33-
/etc/init.d/"$1" "$2"
33+
`rc_d_path`/init.d/"$1" "$2"
3434
fi
3535
}
3636

0 commit comments

Comments
 (0)