Created
January 29, 2018 23:36
-
-
Save csbogdan/5fb50c6081641ad64e20cd631771d8d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Network fabric for containers | |
Documentation=https://github.com/coreos/flannel | |
Before=docker.service | |
After=network-online.target | |
[Service] | |
Type=notify | |
Restart=always | |
RestartSec=5 | |
EnvironmentFile=-/etc/default/flannel | |
LimitNOFILE=65536 | |
ExecStart=/bin/flanneld -etcd-endpoints=${ETCD_ENDPOINTS} --ip-masq=true | |
# Update docker options | |
ExecStartPost=/etc/mk-docker-opts.sh | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment