summaryrefslogtreecommitdiff
path: root/units/opt-usr-fsck.service
blob: 49888de067cfc641aaf475fcca810cf5e41f0af2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=File System Check on /opt/usr
DefaultDependencies=no
ConditionPathExists=!/opt/etc/.odeprogress
BindsTo=dev-disk-by\x2dpartlabel-user.device
After=dev-disk-by\x2dpartlabel-user.device
Before=shutdown.target

[Service]
Type=oneshot
RemainAfterExit=yes
User=system_fw
Group=disk
SmackProcessLabel=System
ExecStart=/sbin/fsck -T -M -f -y /dev/disk/by-partlabel/user
SuccessExitStatus=0 1 8
TimeoutSec=0