rpcbind/0001-systemd-unit-files.patch
2018-12-12 19:05:46 +00:00

28 lines
910 B
Diff

From 9c5efb3a0973d57b79e4fc7a96debe0e6ce2d000 Mon Sep 17 00:00:00 2001
From: Thomas Blume <thomas.blume@suse.com>
Date: Thu, 25 Oct 2018 11:14:32 +0200
Subject: [PATCH] systemd unit files
Add EnvironmentFile=-/etc/sysconfig/rpcbind to rpcbind.service
---
systemd/rpcbind.service.in | 1 +
1 file changed, 1 insertion(+)
Index: rpcbind-1.2.5/systemd/rpcbind.service.in
===================================================================
--- rpcbind-1.2.5.orig/systemd/rpcbind.service.in
+++ rpcbind-1.2.5/systemd/rpcbind.service.in
@@ -8,10 +8,12 @@ RequiresMountsFor=@statedir@
# rpcbind.socket, no matter how this unit is started.
Requires=rpcbind.socket
Wants=rpcbind.target
+After=sysinit.target
[Service]
Type=notify
# distro can provide a drop-in adding EnvironmentFile=-/??? if needed.
+EnvironmentFile=-/etc/sysconfig/rpcbind
ExecStart=@_sbindir@/rpcbind $RPCBIND_OPTIONS -w -f
[Install]