Skip to content
Snippets Groups Projects
Commit 5e3af86c authored by Antoine Legrand's avatar Antoine Legrand
Browse files

Merge pull request #84 from rackn/init-system-fix

Test for a systemd service that should be up.
parents 9e9aba4e ec1073de
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@
- name: "Identify init system"
shell: >
$(pgrep systemd > /dev/null && systemctl status > /dev/null);
$(pgrep systemd > /dev/null && systemctl status network > /dev/null);
if [ $? -eq 0 ] ; then
echo systemd;
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment