mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +02:00
default to KIllMode=control-group in services
https://www.man7.org/linux/man-pages/man5/systemd.kill.5.html discussed in: https://github.com/rootzoll/raspiblitz/issues/1901
This commit is contained in:
@@ -14,7 +14,6 @@ User=root
|
||||
Group=root
|
||||
Type=simple
|
||||
ExecStart=/home/admin/_background.sh
|
||||
KillMode=process
|
||||
Restart=always
|
||||
TimeoutSec=10
|
||||
RestartSec=10
|
||||
|
@@ -16,7 +16,6 @@ Type=forking
|
||||
PIDFile=/mnt/hdd/bitcoin/bitcoind.pid
|
||||
ExecStartPre=-/home/admin/config.scripts/blitz.systemd.sh log blockchain STARTED
|
||||
ExecStart=/usr/local/bin/bitcoind -daemon -conf=/mnt/hdd/bitcoin/bitcoin.conf -pid=/mnt/hdd/bitcoin/bitcoind.pid
|
||||
KillMode=process
|
||||
Restart=always
|
||||
TimeoutSec=120
|
||||
RestartSec=30
|
||||
|
@@ -16,7 +16,6 @@ Type=forking
|
||||
PIDFile=/home/bitcoin/.litecoin/litecoind.pid
|
||||
ExecStartPre=-/home/admin/config.scripts/blitz.systemd.sh log blockchain STARTED
|
||||
ExecStart=/usr/local/bin/litecoind -daemon -conf=/home/bitcoin/.litecoin/litecoin.conf -pid=/home/bitcoin/.litecoin/litecoind.pid
|
||||
KillMode=process
|
||||
Restart=always
|
||||
TimeoutSec=120
|
||||
RestartSec=30
|
||||
|
@@ -17,7 +17,6 @@ User=bitcoin
|
||||
Group=bitcoin
|
||||
LimitNOFILE=128000
|
||||
Type=simple
|
||||
KillMode=process
|
||||
TimeoutSec=180
|
||||
Restart=always
|
||||
RestartSec=60
|
||||
|
@@ -151,7 +151,6 @@ Type=forking
|
||||
PIDFile=/mnt/hdd/bitcoin/${prefix}bitcoind.pid
|
||||
ExecStart=/usr/local/bin/bitcoind -${CHAIN} -daemon\
|
||||
-pid=/mnt/hdd/bitcoin/${prefix}bitcoind.pid
|
||||
KillMode=process
|
||||
Restart=always
|
||||
TimeoutSec=120
|
||||
RestartSec=30
|
||||
|
@@ -101,7 +101,6 @@ ExecStart=/home/circuitbreaker/go/bin/circuitbreaker --network=${chain}net
|
||||
User=circuitbreaker
|
||||
Group=circuitbreaker
|
||||
Type=simple
|
||||
KillMode=process
|
||||
TimeoutSec=60
|
||||
Restart=always
|
||||
RestartSec=60
|
||||
|
@@ -403,7 +403,6 @@ ExecStart=/home/electrs/electrs/target/release/electrs --index-batch-size=10 --e
|
||||
User=electrs
|
||||
Group=electrs
|
||||
Type=simple
|
||||
KillMode=process
|
||||
TimeoutSec=60
|
||||
Restart=always
|
||||
RestartSec=60
|
||||
|
@@ -286,7 +286,6 @@ ExecStart=/usr/local/bin/litd
|
||||
User=lit
|
||||
Group=lit
|
||||
Type=simple
|
||||
KillMode=process
|
||||
TimeoutSec=60
|
||||
Restart=always
|
||||
RestartSec=60
|
||||
|
@@ -116,7 +116,6 @@ ExecStart=/home/loop/go/bin/loopd --network=${chain}net ${proxy}
|
||||
User=loop
|
||||
Group=loop
|
||||
Type=simple
|
||||
KillMode=process
|
||||
TimeoutSec=60
|
||||
Restart=always
|
||||
RestartSec=60
|
||||
|
@@ -114,7 +114,6 @@ ExecStart=$proxy /home/pool/go/bin/poold --network=${chain}net --debuglevel=trac
|
||||
User=pool
|
||||
Group=pool
|
||||
Type=simple
|
||||
KillMode=process
|
||||
TimeoutSec=60
|
||||
Restart=always
|
||||
RestartSec=60
|
||||
|
@@ -143,7 +143,6 @@ Group=bitcoin
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/lnd\
|
||||
--configfile=/home/bitcoin/.lnd/${netprefix}lnd.conf
|
||||
KillMode=process
|
||||
Restart=always
|
||||
TimeoutSec=120
|
||||
RestartSec=30
|
||||
|
Reference in New Issue
Block a user