Skip to contentSkip to conversation

ippool: Enable systemd service on install

PATCH New Khem Raj 1 participant 1 message May 12, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 ippool: Enable systemd service on install

Start the daemon with RPC support

---
 meta-networking/recipes-daemons/ippool/ippool/ippool.service | 4 ++--
 meta-networking/recipes-daemons/ippool/ippool_1.3.bb         | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)
meta-networking/recipes-daemons/ippool/ippool/ippool.service +2 -2
index 281ae5fd19..f168e4ccb6 100644
@@ -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
meta-networking/recipes-daemons/ippool/ippool_1.3.bb +0 -2
index f592912f9b..36ea289945 100644
@@ -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
Signature · 1 line
2.40.1