commit a4197d8df044bf6885a2c5d80764354463ed6002
Author: Peter Lemenkov <[email protected]>
Date: Fri Jan 16 18:29:22 2015 +0300
Change flannel service type to notify
Signed-off-by: Peter Lemenkov <[email protected]>
flannel.spec | 6 +++++-
flanneld.service | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/flannel.spec b/flannel.spec
index d7357a5..efc7a42 100644
--- a/flannel.spec
+++ b/flannel.spec
@@ -9,7 +9,7 @@
Name: flannel
Version: 0.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Etcd address management agent for overlay networks
License: ASL 2.0
URL: https://%{import_path}
@@ -119,6 +119,10 @@ cp -pav {backend,pkg,subnet}
%{buildroot}/%{gopath}/src/%{import_path}/
%{gopath}/src/%{import_path}/
%changelog
+* Fri Jan 16 2015 Peter Lemenkov <[email protected]> - 0.2.0-2
+- Change flannel service type to notify. See
+ https://github.com/coreos/flannel/blob/v0.2.0/main.go#L213
+
* Tue Dec 23 2014 Lokesh Mandvekar <[email protected]> - 0.2.0-1
- update to upstream v0.2.0
- append FLANNEL_OPTIONS variable to unitfile command
diff --git a/flanneld.service b/flanneld.service
index 0aee4a4..d6eec2e 100644
--- a/flanneld.service
+++ b/flanneld.service
@@ -5,7 +5,7 @@ Description=Flanneld overlay address etcd agent
After=network.target
[Service]
-Type=simple
+Type=notify
EnvironmentFile=/etc/sysconfig/flanneld
ExecStart=/usr/bin/flanneld -etcd-endpoints=${FLANNEL_ETCD}
-etcd-prefix=${FLANNEL_ETCD_KEY} ${FLANNEL_OPTIONS}
_______________________________________________
golang mailing list
[email protected]
https://lists.fedoraproject.org/mailman/listinfo/golang