Skip to main content
p. 138

6.2 Identifying Your init

Determining your system’s version of init usually isn’t difficult. Viewing the init(1) manual page normally tells you right away, but if you’re not sure, check your system as follows:

  • If your system has /usr/lib/systemd and /etc/systemd directories, you have systemd.
  • If you have an /etc/init directory that contains several .conf files, you’re probably running Upstart (unless you’re running Debian 7 or older, in which case you probably have System V init). We won’t cover Upstart in this book because it has been widely supplanted by systemd.
  • If neither of the above is true, but you have an /etc/inittab file, you’re probably running System V init. Go to Section 6.5.