File tree 1 file changed +14
-5
lines changed
1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 1
- Unit]
1
+ [ Unit]
2
2
Description =Docker falcon.service
3
3
After =docker.service
4
4
Requires =docker.service
5
5
6
6
[Service]
7
7
TimeoutStartSec =0
8
8
Restart =always
9
- ExecStartPre =/bin/bash -c "/bin/mkdir -p /opt/CrowdStrike && /bin/touch /opt/CrowdStrike/falconstore"
9
+ ExecStartPre =/usr/bin/docker run --rm \
10
+ --privileged \
11
+ --pid =host \
12
+ --net =host \
13
+ --ipc =host \
14
+ --entrypoint /opt/CrowdStrike/falcon-daemonset-init \
15
+ <falcon-sensor-container-image> -i
10
16
ExecStart =/usr/bin/docker run --rm --name falcon \
11
- --userns =host \
12
17
--privileged \
13
18
--pid =host \
14
- --network =host \
19
+ --net =host \
20
+ --ipc =host \
21
+ --userns =host \
22
+ -e FALCONCTL_OPT_BACKEND =bpf \
15
23
-e FALCONCTL_OPT_CID =<CID> \
24
+ -e FALCONCTL_OPT_TAGS =<TAGS> \
16
25
-v /opt/CrowdStrike/falconstore:/opt/CrowdStrike/falconstore \
17
- <falcon-sensor-container-image>
26
+ <falcon-sensor-container-image>
18
27
ExecStop =/usr/bin/docker stop falcon
19
28
20
29
[Install]
You can’t perform that action at this time.
0 commit comments