Feedback: systemd poweroff fixfiles is it possible?

Frank Murphy frankly3d at gmail.com
Sun Jan 22 13:38:31 UTC 2012


Looking for feedback

I havn't seen anything in
https://fedoraproject.org/wiki/Systemd

Google not much help.

but I would like
"fixfiles onboot"
to run just before poweroff both cli\gui

not sure how
"Requires=fixfiles"
"After="fixfiles onboot"
would work out.


[Unit]
Description=Power-Off
DefaultDependencies=no
Requires=shutdown.target umount.target final.target /usr/bin/fixfiles
After=shutdown.target umount.target final.target "fixfiles -q onboot"
.include /usr/lib/systemd/system/poweroff.service

Would use a crontab,
but not sure how
"@poweroff fixfiles onboot"
could be worked in, as not valid as a command

-- 
Regards,

Frank Murphy
UTF_8 Encoded


More information about the users mailing list