nutze seit einigen Tagen Jessie mit systemd. Ich habe das Paket bootlogd installiert um die Nachrichten während des Bootvorgangs zu erfassen. Mit Wheezy hats nach der Installation problemlos funktioniert. Laut Debian-Wiki liegts an systemd. Da das totalles Neuland für mich ist, hab ich mich ein wenig eingelesen.
Laut
Code: Alles auswählen
systemctl list-unit-files
Code: Alles auswählen
systemctl unmask bootlogd.service
Code: Alles auswählen
#> systemctl enable bootlogd.service
Synchronizing state for bootlogd.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d bootlogd defaults
Executing /usr/sbin/update-rc.d bootlogd enable
Failed to execute operation: No such file or directory
#> systemctl status bootlogd.service
● bootlogd.service
Loaded: masked (/dev/null)
Active: inactive (dead)
Code: Alles auswählen
[Unit]
Description=MyApp
After=docker.service
Requires=docker.service
[Service]
TimeoutStartSec=0
ExecStartPre=-/usr/bin/docker kill busybox1
ExecStartPre=-/usr/bin/docker rm busybox1
ExecStartPre=/usr/bin/docker pull busybox
ExecStart=/usr/bin/docker run --name busybox1 busybox /bin/sh -c "while true; do echo Hello World; sleep 1; done"
[Install]
WantedBy=multi-user.target
Viele Grüße,
bumer