File tree 1 file changed +1
-1
lines changed
contrib/systemd/containerized
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ PartOf=docker.service
8
8
[Service]
9
9
EnvironmentFile =/etc/sysconfig/origin-node
10
10
ExecStartPre =-/usr/bin/docker rm -f origin-node
11
- ExecStart =/usr/bin/docker run --name origin-node --rm --privileged --net =host --pid =host --env-file =/etc/sysconfig/origin-node -v /:/rootfs:ro -v /etc/systemd/system:/host-etc/systemd/system -v /etc/localtime:/etc/localtime:ro -v /etc/machine-id:/etc/machine-id:ro -v /lib/modules:/lib/modules -v /run:/run -v /sys:/sys:rw -v /var/lib/docker:/var/lib/docker -v /etc/origin/node:/etc/origin/node -v /etc/origin/openvswitch:/etc/openvswitch -v /etc/origin/sdn:/etc/openshift-sdn -v /var/lib/origin:/var/lib/origin:rslave -v /var/log:/var/log -v /dev:/dev -e HOST =/rootfs -e HOST_ETC =/host-etc openshift/node
11
+ ExecStart =/usr/bin/docker run --name origin-node --rm --privileged --net =host --pid =host --env-file =/etc/sysconfig/origin-node -v /:/rootfs:ro -v /etc/systemd/system:/host-etc/systemd/system -v /etc/localtime:/etc/localtime:ro -v /etc/machine-id:/etc/machine-id:ro -v /lib/modules:/lib/modules -v /run:/run -v /sys:/sys:rw -v /var/lib/docker:/var/lib/docker -v /etc/origin/node:/etc/origin/node -v /etc/origin/openvswitch:/etc/openvswitch -v /etc/origin/sdn:/etc/openshift-sdn -v /var/lib/cni:/var/lib/cni -v /var/lib/ origin:/var/lib/origin:rslave -v /var/log:/var/log -v /dev:/dev -e HOST =/rootfs -e HOST_ETC =/host-etc openshift/node
12
12
ExecStartPost =/usr/bin/sleep 10
13
13
ExecStop =/usr/bin/docker stop origin-node
14
14
Restart =always
You can’t perform that action at this time.
0 commit comments