Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install.sh: fix hardcode sysconfdir in EnvironmentFile path #150

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 29, 2020

  1. 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]>
    amoskong committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    5de1a5a View commit details
    Browse the repository at this point in the history