Skip to content

Commit f93626b

Browse files
committed
trying anaother way
1 parent e779c25 commit f93626b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

usr/lib/systemd/system/greenboot-healthcheck.service

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ OnFailureJobMode=fail
66
RequiresMountsFor=/boot
77
RequiresMountsFor=/etc
88
OnFailure=greenboot-rollback.service
9-
OnSuccess=boot-complete.target
109

1110
[Service]
1211
Type=oneshot
1312
RemainAfterExit=yes
1413
ExecStart=/usr/libexec/greenboot/greenboot health-check
14+
ExecStartPost=systemctl start boot-complete.target
1515
Restart=no
1616
PrivateMounts=yes
1717

1818
[Install]
19+
RequiredBy=boot-complete.target
1920
WantedBy=multi-user.target

0 commit comments

Comments
 (0)