systemd HOWTO

Published on Christian Mayer's Weblog

This is a list of useful systemctl commands I always forget after not using it for a while.

List all Services

$ systemctl

Show the Status of a Specific Service

$ systemctl status my_service

Start a Specific Service

$ systemctl start my_service

Stop a Specific Service

$ systemctl stop my_service

Follow the Log of a Specific Service

$ journalctl -u my_service -f

List Latest Log Lines of a Specific Service

$ journalctl -u my_service --no-pager -n 1000

More Help

$ systemctl -h

More Resources

Recent Posts

About the Author

Christian is a professional software developer living in Vienna, Austria. He loves coffee and is strongly addicted to music. In his spare time he writes open source software. He is known for developing automatic data processing systems on Debian Linux server.

Categories: Productivity
Tags: systemd, systemctl, Linux, Debian

Archive | Categories | RSS Feed | Usage | Imprint
Copyright © 2006 by