Skip to content

Commit 0f53a0d

Browse files
authored
Merge pull request #482 from abg/compat-bosh-enable-monit-access
[ubuntu-jammy] Move bosh-enable-monit-access helper to /usr/local/sbin
2 parents 0fc7c3c + b3c6a2b commit 0f53a0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stemcell_builder/stages/bosh_go_agent/apply.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ bosh_agent_version=$(cat ${assets_dir}/bosh-agent-version)
3535
/usr/bin/meta4 file-download --metalink=${assets_dir}/metalink.meta4 --file=bosh-agent-${bosh_agent_version}-linux-amd64 bosh-agent
3636

3737
mv bosh-agent $chroot/var/vcap/bosh/bin/
38-
ln --force $chroot/var/vcap/bosh/bin/bosh-agent $chroot/var/vcap/bosh/etc/bosh-enable-monit-access
38+
ln --force $chroot/var/vcap/bosh/bin/bosh-agent $chroot/usr/local/sbin/bosh-enable-monit-access
3939

4040
cp $assets_dir/bosh-agent-rc $chroot/var/vcap/bosh/bin/bosh-agent-rc
4141

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
permit_monit_access() {
2-
/var/vcap/bosh/etc/bosh-enable-monit-access
2+
/usr/local/sbin/bosh-enable-monit-access
33
}

0 commit comments

Comments
 (0)