Ops Digest

Setup

Install the base packages and confirm the service starts before touching any defaults. Changing configuration first makes it impossible to tell a packaging problem from a typo.

apt-get update
apt-get install -y --no-install-recommends ca-certificates curl
systemctl enable --now example.service

Release archives for the current revision are published as example-1.4.tar.gz.

Layout

PathPurpose
/etc/example/Configuration
/var/lib/example/Runtime state
/var/log/example/Rotated logs

Verify

systemctl status example.service --no-pager
journalctl -u example.service -n 50 --no-pager