18 lines
418 B
SYSTEMD
18 lines
418 B
SYSTEMD
|
[Unit]
|
||
|
Description=Relabel all filesystems, if necessary
|
||
|
DefaultDependencies=no
|
||
|
Requires=local-fs.target
|
||
|
Conflicts=shutdown.target
|
||
|
After=local-fs.target
|
||
|
Before=sysinit.target shutdown.target
|
||
|
ConditionSecurity=selinux
|
||
|
ConditionKernelCommandLine=|autorelabel
|
||
|
ConditionPathExists=|/.autorelabel
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/libexec/selinux/selinux-autorelabel
|
||
|
Type=oneshot
|
||
|
TimeoutSec=0
|
||
|
RemainAfterExit=yes
|
||
|
StandardInput=tty
|