diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-05-11 19:45:32 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-05-21 18:11:01 -0700 |
commit | 46af44ffe6a89dc9c6eccab0a7d60b377a3bb00f (patch) | |
tree | 488df92e1c79ead7d4ac3c9ccbbdd7365f51d591 /meta-networking/recipes-daemons | |
parent | ec749b810078e2f6804edc5d28d7abc581af8f26 (diff) | |
download | meta-openembedded-46af44ffe6a89dc9c6eccab0a7d60b377a3bb00f.tar.gz |
ippool: Enable systemd service on install
Start the daemon with RPC support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons')
-rw-r--r-- | meta-networking/recipes-daemons/ippool/ippool/ippool.service | 4 | ||||
-rw-r--r-- | meta-networking/recipes-daemons/ippool/ippool_1.3.bb | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/meta-networking/recipes-daemons/ippool/ippool/ippool.service b/meta-networking/recipes-daemons/ippool/ippool/ippool.service index 281ae5fd1..f168e4ccb 100644 --- a/meta-networking/recipes-daemons/ippool/ippool/ippool.service +++ b/meta-networking/recipes-daemons/ippool/ippool/ippool.service | |||
@@ -5,8 +5,8 @@ After=rpcbind.service | |||
5 | 5 | ||
6 | [Service] | 6 | [Service] |
7 | Type=simple | 7 | Type=simple |
8 | # Start ippoold in the foreground! | 8 | # Start ippoold in the foreground! and enable RPC |
9 | ExecStart=@SBINDIR@/ippoold -f | 9 | ExecStart=@SBINDIR@/ippoold -R -f |
10 | # Normal output will go to syslog, so suppress stdout. | 10 | # Normal output will go to syslog, so suppress stdout. |
11 | StandardOutput=null | 11 | StandardOutput=null |
12 | # ExecStop is not needed. systemd will send SIGTERM | 12 | # ExecStop is not needed. systemd will send SIGTERM |
diff --git a/meta-networking/recipes-daemons/ippool/ippool_1.3.bb b/meta-networking/recipes-daemons/ippool/ippool_1.3.bb index f592912f9..36ea28994 100644 --- a/meta-networking/recipes-daemons/ippool/ippool_1.3.bb +++ b/meta-networking/recipes-daemons/ippool/ippool_1.3.bb | |||
@@ -50,8 +50,6 @@ EXTRA_OEMAKE += "IPPOOL_TEST=y" | |||
50 | CPPFLAGS += "${SELECTED_OPTIMIZATION} -I${STAGING_INCDIR}/tirpc" | 50 | CPPFLAGS += "${SELECTED_OPTIMIZATION} -I${STAGING_INCDIR}/tirpc" |
51 | 51 | ||
52 | SYSTEMD_SERVICE:${PN} = "ippool.service" | 52 | SYSTEMD_SERVICE:${PN} = "ippool.service" |
53 | SYSTEMD_AUTO_ENABLE = "disable" | ||
54 | |||
55 | 53 | ||
56 | do_compile:prepend() { | 54 | do_compile:prepend() { |
57 | # fix the CFLAGS= and CPPFLAGS= in main Makefile, to have the extra CFLAGS in env | 55 | # fix the CFLAGS= and CPPFLAGS= in main Makefile, to have the extra CFLAGS in env |