mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 09:32:11 +02:00
Instead of setting 'Restart=always' in the service file, we should make the service socket activated, just like what Fedora does. (From OE-Core rev: 176e91ef28800adb6295b29c455b2efb91a01876) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 lines
223 B
Desktop File
13 lines
223 B
Desktop File
[Unit]
|
|
Description=RPC Bind Service
|
|
Requires=rpcbind.socket
|
|
|
|
[Service]
|
|
Type=forking
|
|
EnvironmentFile=-@SYSCONFDIR@/rpcbind.conf
|
|
ExecStart=@SBINDIR@/rpcbind -w $RPCBIND_OPTS
|
|
SuccessExitStatus=2
|
|
|
|
[Install]
|
|
Also=rpcbind.socket
|