ppisar pushed to quota (master). "Restart rcp-rquotad.service on rpcbind.service restart (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 2 12:20:15 UTC 2015


>From 03d375b2cc9bf6a129954785a7c98b51ce3156b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Thu, 2 Apr 2015 14:17:28 +0200
Subject: Restart rcp-rquotad.service on rpcbind.service restart

Otherwise rpcbind would lose rpc.rquotad registration and the RPC service
would become unavailable despite the daemon and systemd service beeing
in started state.

diff --git a/rpc-rquotad.service b/rpc-rquotad.service
index 3ec4134..45bdd52 100644
--- a/rpc-rquotad.service
+++ b/rpc-rquotad.service
@@ -1,8 +1,9 @@
 [Unit]
 Description=Remote quota server
 Documentation=man:rpc.rquotad(8)
-Requires=rpcbind.target
-After=rpcbind.target
+Requires=rpcbind.service
+PartOf=rpcbind.service
+After=rpcbind.service
 
 [Service]
 Type=forking
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/quota.git/commit/?h=master&id=03d375b2cc9bf6a129954785a7c98b51ce3156b4


More information about the scm-commits mailing list