summaryrefslogtreecommitdiff
path: root/extra/ypbind-mt/ypbind.service
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-05-05 16:43:59 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-05-05 16:43:59 +0200
commiteea781ff51db0dcc8e7263625d9b206d8b498b14 (patch)
tree1c36f59ff34ac845dad77ddb50cde427c5dc1bd4 /extra/ypbind-mt/ypbind.service
parent64552a84f9eb436e191d738ef4ebc552a768048d (diff)
parent7a600dcabb6923ee79d36a4eaab2fc6867bdb807 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: core/dbus/PKGBUILD extra/opus/PKGBUILD extra/ypbind-mt/PKGBUILD
Diffstat (limited to 'extra/ypbind-mt/ypbind.service')
-rw-r--r--extra/ypbind-mt/ypbind.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/extra/ypbind-mt/ypbind.service b/extra/ypbind-mt/ypbind.service
index c59231000..08e4fe14e 100644
--- a/extra/ypbind-mt/ypbind.service
+++ b/extra/ypbind-mt/ypbind.service
@@ -8,6 +8,9 @@ Before=systemd-user-sessions.service
Type=forking
PIDFile=/run/ypbind.pid
ExecStart=/usr/sbin/ypbind
+# Terrible hack, upstream ypbind should sort something out
+# Wait for at most 10 seconds for a NIS master to become available
+ExecStartPost=/bin/sh -c "for i in 1 2 3 4 5 6 7 8 9 10; do ypwhich && break; sleep 1; done"
[Install]
WantedBy=multi-user.target