mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-06-07 02:45:28 +02:00
so-boot-highstate: wait for docker before running highstate
Add docker.service to After= and Wants= so the boot-time highstate starts after docker is up. Uses Wants (soft) so highstate still runs if docker fails to start.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Security Onion boot-time highstate (runs once per boot)
|
Description=Security Onion boot-time highstate (runs once per boot)
|
||||||
After=salt-minion.service network-online.target
|
After=salt-minion.service network-online.target docker.service
|
||||||
Wants=network-online.target
|
Wants=network-online.target docker.service
|
||||||
Requires=salt-minion.service
|
Requires=salt-minion.service
|
||||||
ConditionPathExists=/opt/so/conf/setup-complete
|
ConditionPathExists=/opt/so/conf/setup-complete
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user