diff options
Diffstat (limited to 'meta/recipes-extended/rpcbind/rpcbind/rpcbind.service')
-rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind/rpcbind.service | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service index 33ee268441..b3ae2541a0 100644 --- a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service +++ b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service | |||
@@ -1,15 +1,12 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=RPC Bind | 2 | Description=RPC Bind Service |
3 | After=network.target | 3 | Requires=rpcbind.socket |
4 | Wants=rpcbind.target | ||
5 | Before=rpcbind.target | ||
6 | 4 | ||
7 | [Service] | 5 | [Service] |
8 | Type=forking | 6 | Type=forking |
9 | EnvironmentFile=-@SYSCONFDIR@/rpcbind.conf | 7 | EnvironmentFile=-@SYSCONFDIR@/rpcbind.conf |
10 | ExecStart=@SBINDIR@/rpcbind -w $RPCBIND_OPTS | 8 | ExecStart=@SBINDIR@/rpcbind -w $RPCBIND_OPTS |
11 | Restart=always | ||
12 | SuccessExitStatus=2 | 9 | SuccessExitStatus=2 |
13 | 10 | ||
14 | [Install] | 11 | [Install] |
15 | WantedBy=multi-user.target | 12 | Also=rpcbind.socket |