journal

journalctl --vacuum-size=1G
journalctl --vacuum-time=1years

in case of total fuckup of systemd

systemctl daemon-reexec

network

dns

DNS server defined in: /etc/systemd/resolved.conf

# systemd-resolve --status
time sync inside VPS not needed
# systemctl disable systemd-timesyncd.service
# systemctl stop systemd-timesyncd.service

wait with running service until full network is available

[Service]
ExecStartPre=/bin/sh -c 'until ping -c1 one.one.one.one; do sleep 1; done;'
  • faq/systemd.txt
  • Last modified: 9 months ago
  • by Dr Serge Victor