Adds release checking to reload_deamon call #73

Merged
merged 1 commit into from Aug 29, 2016

Conversation

Projects
None yet
2 participants
Collaborator

chuckbutler commented Aug 29, 2016

No description provided.

Collaborator

chuckbutler commented Aug 29, 2016

related to #69

Collaborator

chuckbutler commented Aug 29, 2016

Xenial:
PASS: 3 Total: 3 (431.003215 sec)
Trusty:
PASS: 3 Total: 3 (501.546384 sec)

+ command = ['systemctl', 'daemon-reload']
+ check_call(command)
+ else:
+ service_reload('docker')
@mbruzek

mbruzek Aug 29, 2016

Contributor

I have a strong feeling that running service docker reload would work on systemd computers as well, removing the need for this if statement. But as I don't have time to test this theory I will allow it. We should determine if reload works on xenial and come back to this in the future.

Contributor

mbruzek commented Aug 29, 2016

Fixes #74

Contributor

mbruzek commented Aug 29, 2016

+1

@mbruzek mbruzek merged commit 2e1b5a8 into juju-solutions:master Aug 29, 2016

@chuckbutler chuckbutler deleted the chuckbutler:fix-upstart-daemon-reload branch Sep 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment