mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-18 22:56:15 +00:00
ippool: Enable systemd service on install
Start the daemon with RPC support Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
ec749b8100
commit
46af44ffe6
@ -5,8 +5,8 @@ After=rpcbind.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
# Start ippoold in the foreground!
|
||||
ExecStart=@SBINDIR@/ippoold -f
|
||||
# Start ippoold in the foreground! and enable RPC
|
||||
ExecStart=@SBINDIR@/ippoold -R -f
|
||||
# Normal output will go to syslog, so suppress stdout.
|
||||
StandardOutput=null
|
||||
# ExecStop is not needed. systemd will send SIGTERM
|
||||
|
||||
@ -50,8 +50,6 @@ EXTRA_OEMAKE += "IPPOOL_TEST=y"
|
||||
CPPFLAGS += "${SELECTED_OPTIMIZATION} -I${STAGING_INCDIR}/tirpc"
|
||||
|
||||
SYSTEMD_SERVICE:${PN} = "ippool.service"
|
||||
SYSTEMD_AUTO_ENABLE = "disable"
|
||||
|
||||
|
||||
do_compile:prepend() {
|
||||
# fix the CFLAGS= and CPPFLAGS= in main Makefile, to have the extra CFLAGS in env
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user