Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
in- server iptables -N empty ||:
in- server iptables -I INPUT -j empty -s 192.0.2.0/24
rsyslog-capture-daemon in- server
- in- server service rsyslog start
+
+ in- server service rsyslog start || {
+ # When the outer system is systemd, `service` doesn't find it
+ # in the chroot, but the init script is in orphan-sysvinit-scripts
+ # which is also missing. Run it by hand.
+ in- server rsyslogd -n &
+ sleep 5
+ }
}
in- () {