[Unit] Description=Buildbotics Controller After=network.target [Service] User=root ExecStart=/usr/local/bin/bbctrl -l /var/log/bbctrl.log WorkingDirectory=/var/lib/bbctrl Restart=always # StandardOutput was 'null'. Set to 'journal' so TRACE lines emitted by # bbctrl.Trace are visible via `journalctl -u bbctrl`. Bbctrl still # writes its own log via -l above; this only affects stdout/stderr. StandardOutput=journal StandardError=journal Nice=-10 KillMode=process [Install] WantedBy=multi-user.target