net-p2p/monero: init.d swap need net to use net

daemon does not not need to restart when net restarts

also fix ExcessiveLineLength

Signed-off-by: Filip Kobierski <fkobi@pm.me>
This commit is contained in:
Filip Kobierski
2025-06-02 16:44:53 +02:00
parent 5c8eab8fcd
commit a4fe4a41ef
2 changed files with 4 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ retry="SIGTERM/30/SIGKILL/5"
depend() {
need localmount
need net
use net
}
start_pre() {

View File

@@ -68,7 +68,9 @@ src_configure() {
src_compile() {
local targets=()
use daemon && targets+=(daemon)
use tools && targets+=(blockchain_{ancestry,blackball,db,depth,export,import,prune,prune_known_spent_data,stats,usage})
use tools && targets+=(
blockchain_{ancestry,blackball,db,depth,export,import,prune,prune_known_spent_data,stats,usage}
)
use wallet-cli && targets+=(simplewallet)
use wallet-rpc && targets+=(wallet_rpc_server)
cmake_build ${targets[@]}