From FedoraProject

< User:Spot
Revision as of 16:47, 29 May 2014 by Spot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Packages which contain binfmt.d configuration settings must place them in /lib/binfmt.d/. Files in /etc/binfmt.d/ are reserved for the local administrator, and will override any files with the same name in /lib/binfmt.d/. These packages must also include scriptlets to try to restart the systemd-binfmt.service on install or removal:

Requires(post):  systemd
Requires(postun): systemd


/bin/systemctl try-restart systemd-binfmt.service

if [ $1 -eq 0 ]; then
/bin/systemctl try-restart systemd-binfmt.service