On Sun, Jan 22, 2012 at 4:09 PM, T.C. Hollingsworth
<tchollingswo...@gmail.com> wrote:
> Drop this in /etc/systemd/system/fixfiles.service or such and it
> should do the trick:

Sorry, itchy submit finger.  Needs a little more:

[Unit]
Name=Fix SELinux Contexts on Shutdown
DefaultDependencies=no
After=local-fs.target sysinit.target
Before=poweroff.service reboot.service halt.service

[Service]
Type=oneshot
ExecStart=/usr/bin/fixfiles -q onboot

[Install]
WantedBy=shutdown.target

Then, just "systemctl enable fixfiles.service" and you should be all set.

-T.C.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to