Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install.sh: fix hardcode sysconfdir in EnvironmentFile path
Currently we use fixed sysconfdir name 'sysconfig', it works as expected. But let's change it to use the assigned sysconfdir, it still works when a different sysconfdir is assigned. # Without this fix: EnvironmentFile=/home/scylla-test/scylladb/etc/sysconfig//scylla-jmx # Applied this fix: EnvironmentFile=/home/scylla-test/scylladb/etc/sysconfig/scylla-jmx v2: don't translate the path in executing install.sh, it has problem in building rpm/deb if /etc/sysconfig is a symlink. (Avi) Signed-off-by: Amos Kong <[email protected]>
- Loading branch information