Re: [systemd-devel] Need help: Program not run when rebooting

2021-03-11 Thread Lennart Poettering
On Do, 11.03.21 15:53, Ulrich Windl ([email protected]) wrote: > Hi! > > I tried to write a simple test unit that logs a message when the system is > going down (for reboot or halt), but it does not work: > --- > [Unit] > Description=Test Stop log entries > Documentation=man:logger

[systemd-devel] Need help: Program not run when rebooting

2021-03-11 Thread Ulrich Windl
Hi! I tried to write a simple test unit that logs a message when the system is going down (for reboot or halt), but it does not work: --- [Unit] Description=Test Stop log entries Documentation=man:logger(1) DefaultDependencies=no After=local-fs.target Before=reboot.target halt.target shutdown.targ