Skip to content
Snippets Groups Projects
Commit ec1073de authored by Greg Althaus's avatar Greg Althaus
Browse files

Test for a systemd service that should be up.

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