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/synchrony.service')
f = host.file('/usr/lib/systemd/system/synchrony.service')
assert f.contains("^ExecStart=/opt/atlassian/bin/start-synchrony$")
assert f.contains("^EnvironmentFile=/etc/atl$")
assert f.contains("^EnvironmentFile=/etc/atl.synchrony$")