ITOPSENG-647 put product service file in the default path to allow systemctl mask and other linking operations to work properly

This commit is contained in:
Brett Meehan
2020-05-21 10:17:22 +10:00
parent 0fbc7609a1
commit 7b9e9e2328
5 changed files with 9 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
def test_service_file(host):
f = host.file('/etc/systemd/system/bitbucket.service')
f = host.file('/usr/lib/systemd/system/bitbucket.service')
assert f.contains("^ExecStart=/opt/atlassian/bitbucket/current/bin/start-bitbucket.sh -fg --no-search$")
assert f.contains("^UMask=0027$")
assert f.contains("^LimitNOFILE=4096$")