Skip to content

Commit 86ff516

Browse files
authored
Merge pull request #403 from redhatrises/update_systemd_scripts
chore: update docker systemd file
2 parents 9ccef88 + 7014105 commit 86ff516

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

systemd/docker/falcon.service

+14-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,29 @@
1-
Unit]
1+
[Unit]
22
Description=Docker falcon.service
33
After=docker.service
44
Requires=docker.service
55

66
[Service]
77
TimeoutStartSec=0
88
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
1016
ExecStart=/usr/bin/docker run --rm --name falcon \
11-
--userns=host \
1217
--privileged \
1318
--pid=host \
14-
--network=host \
19+
--net=host \
20+
--ipc=host \
21+
--userns=host \
22+
-e FALCONCTL_OPT_BACKEND=bpf \
1523
-e FALCONCTL_OPT_CID=<CID> \
24+
-e FALCONCTL_OPT_TAGS=<TAGS> \
1625
-v /opt/CrowdStrike/falconstore:/opt/CrowdStrike/falconstore \
17-
       <falcon-sensor-container-image>
26+
<falcon-sensor-container-image>
1827
ExecStop=/usr/bin/docker stop falcon
1928

2029
[Install]

0 commit comments

Comments
 (0)