Skip to content

Instantly share code, notes, and snippets.

@laserpants
Created July 15, 2018 11:57
Show Gist options
  • Save laserpants/97afbbdac098477c7557e5aa8f1dfc8e to your computer and use it in GitHub Desktop.
Save laserpants/97afbbdac098477c7557e5aa8f1dfc8e to your computer and use it in GitHub Desktop.
Check if system is using systemd
#!/bin/bash
ps -p 1 -o comm=
# see https://www.home-assistant.io/docs/autostart/systemd/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment