Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 371 Bytes

selinux-autorelabel-mark.service

File metadata and controls

15 lines (14 loc) · 371 Bytes
 
Oct 16, 2018
Oct 16, 2018
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[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