2016-04-25 07:36:31 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Mark the need to relabel after reboot
|
|
|
|
DefaultDependencies=no
|
|
|
|
Requires=local-fs.target
|
|
|
|
Conflicts=shutdown.target
|
|
|
|
After=local-fs.target
|
|
|
|
Before=sysinit.target shutdown.target
|
|
|
|
ConditionSecurity=!selinux
|
|
|
|
ConditionPathIsDirectory=/etc/selinux
|
|
|
|
ConditionPathExists=!/.autorelabel
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=-/bin/touch /.autorelabel
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2018-06-07 17:32:22 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=sysinit.target
|