I can only be short about this: it would be nice if pppoe-server, being a system service, would have an initscript installed with the package. Reproducible: Always
Could you provide the package name this executable belongs to? I don't ahve it installed.
The package pppoe-server belongs to is net-dialup/rp-pppoe. As an extra requirement, it should be possible to run pppoe-servers on different interfaces, e.g. /etc/init.d/pppoe-server.eth0 start && /etc/init.d/pppoe-server.eth1 start (with the network interfaces possibly renamed and possibly containing VLAN stuff, e.g. myintf.3000)
Do you have such script? IMO could have multiple instances, but I don't think it would be wise to connect the script name with the interface. Most folks would need only one instance, therefore a /etc/init.d/pppoe (the only script that will be installed by the ebuild) would do. If you need an example, see the init script of net-proxy/privoxy.
FYI: pppoe-server man page says that you are allowed to pass multiple -I arguments on the command line.
Created attachment 272721 [details] conf.d file
Created attachment 272723 [details] init.d file
Created attachment 272731 [details] with additional options support
Created attachment 272735 [details] init.d file
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6941c29b3715e56592141a6d59dbe355a529f8e5 commit 6941c29b3715e56592141a6d59dbe355a529f8e5 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-11-28 12:13:58 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-11-28 12:15:55 +0000 net-dialup/rp-pppoe: Bump to version 3.13 Added pppoe-server init script. Thanks to Oleg Gawriloff <barzog@telecom.by> for providing the script and the config file. Closes: https://bugs.gentoo.org/258515 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> net-dialup/rp-pppoe/Manifest | 1 + net-dialup/rp-pppoe/files/pppoe-server.confd | 10 ++ net-dialup/rp-pppoe/files/pppoe-server.initd | 9 ++ .../rp-pppoe/files/rp-pppoe-3.13-autotools.patch | 110 ++++++++++++++++++++ .../files/rp-pppoe-3.13-linux-headers.patch | 25 +++++ net-dialup/rp-pppoe/rp-pppoe-3.13.ebuild | 111 +++++++++++++++++++++ 6 files changed, 266 insertions(+)