Follow

Understanding # 15

To quickly and easily see what makes up a unit file you can run a status and a cat on the unit. The status tells you the current state, while the cat will actually output the unit file. Example:

$ systemctl cat sshd
# /usr/lib/systemd/system/sshd.service
[Unit]
Description=OpenSSH server daemon
Documentation=man:sshd(8) man:sshd_config(5)
After=network.target sshd-keygen.target
Wants=sshd-keygen.target

------ Cut for length ------

Sign in to participate in the conversation
LinuxRocks.Online

Linux Geeks doing what Linux Geeks do..