Skip to content

Instantly share code, notes, and snippets.

Last active February 3, 2023 06:35
What would you like to do?
Tips for debugging a systemd unit
# Check the systemd journal for mentions of my-service
journalctl | grep -i my-service
# Show the status of the service
systemctl status my-service
# Service is at /lib/systemd/system/my-service.service
# After editing unit file on disk, reload the units
systemctl daemon-reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment