mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-29 04:52:32 +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
|
Group=root
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/home/admin/_background.sh
|
ExecStart=/home/admin/_background.sh
|
||||||
KillMode=process
|
|
||||||
Restart=always
|
Restart=always
|
||||||
TimeoutSec=10
|
TimeoutSec=10
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
@@ -16,7 +16,6 @@ Type=forking
|
|||||||
PIDFile=/mnt/hdd/bitcoin/bitcoind.pid
|
PIDFile=/mnt/hdd/bitcoin/bitcoind.pid
|
||||||
ExecStartPre=-/home/admin/config.scripts/blitz.systemd.sh log blockchain STARTED
|
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
|
ExecStart=/usr/local/bin/bitcoind -daemon -conf=/mnt/hdd/bitcoin/bitcoin.conf -pid=/mnt/hdd/bitcoin/bitcoind.pid
|
||||||
KillMode=process
|
|
||||||
Restart=always
|
Restart=always
|
||||||
TimeoutSec=120
|
TimeoutSec=120
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
@@ -16,7 +16,6 @@ Type=forking
|
|||||||
PIDFile=/home/bitcoin/.litecoin/litecoind.pid
|
PIDFile=/home/bitcoin/.litecoin/litecoind.pid
|
||||||
ExecStartPre=-/home/admin/config.scripts/blitz.systemd.sh log blockchain STARTED
|
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
|
ExecStart=/usr/local/bin/litecoind -daemon -conf=/home/bitcoin/.litecoin/litecoin.conf -pid=/home/bitcoin/.litecoin/litecoind.pid
|
||||||
KillMode=process
|
|
||||||
Restart=always
|
Restart=always
|
||||||
TimeoutSec=120
|
TimeoutSec=120
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
@@ -17,7 +17,6 @@ User=bitcoin
|
|||||||
Group=bitcoin
|
Group=bitcoin
|
||||||
LimitNOFILE=128000
|
LimitNOFILE=128000
|
||||||
Type=simple
|
Type=simple
|
||||||
KillMode=process
|
|
||||||
TimeoutSec=180
|
TimeoutSec=180
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=60
|
RestartSec=60
|
||||||
|
@@ -151,7 +151,6 @@ Type=forking
|
|||||||
PIDFile=/mnt/hdd/bitcoin/${prefix}bitcoind.pid
|
PIDFile=/mnt/hdd/bitcoin/${prefix}bitcoind.pid
|
||||||
ExecStart=/usr/local/bin/bitcoind -${CHAIN} -daemon\
|
ExecStart=/usr/local/bin/bitcoind -${CHAIN} -daemon\
|
||||||
-pid=/mnt/hdd/bitcoin/${prefix}bitcoind.pid
|
-pid=/mnt/hdd/bitcoin/${prefix}bitcoind.pid
|
||||||
KillMode=process
|
|
||||||
Restart=always
|
Restart=always
|
||||||
TimeoutSec=120
|
TimeoutSec=120
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
@@ -101,7 +101,6 @@ ExecStart=/home/circuitbreaker/go/bin/circuitbreaker --network=${chain}net
|
|||||||
User=circuitbreaker
|
User=circuitbreaker
|
||||||
Group=circuitbreaker
|
Group=circuitbreaker
|
||||||
Type=simple
|
Type=simple
|
||||||
KillMode=process
|
|
||||||
TimeoutSec=60
|
TimeoutSec=60
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=60
|
RestartSec=60
|
||||||
|
@@ -403,7 +403,6 @@ ExecStart=/home/electrs/electrs/target/release/electrs --index-batch-size=10 --e
|
|||||||
User=electrs
|
User=electrs
|
||||||
Group=electrs
|
Group=electrs
|
||||||
Type=simple
|
Type=simple
|
||||||
KillMode=process
|
|
||||||
TimeoutSec=60
|
TimeoutSec=60
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=60
|
RestartSec=60
|
||||||
|
@@ -286,7 +286,6 @@ ExecStart=/usr/local/bin/litd
|
|||||||
User=lit
|
User=lit
|
||||||
Group=lit
|
Group=lit
|
||||||
Type=simple
|
Type=simple
|
||||||
KillMode=process
|
|
||||||
TimeoutSec=60
|
TimeoutSec=60
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=60
|
RestartSec=60
|
||||||
|
@@ -116,7 +116,6 @@ ExecStart=/home/loop/go/bin/loopd --network=${chain}net ${proxy}
|
|||||||
User=loop
|
User=loop
|
||||||
Group=loop
|
Group=loop
|
||||||
Type=simple
|
Type=simple
|
||||||
KillMode=process
|
|
||||||
TimeoutSec=60
|
TimeoutSec=60
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=60
|
RestartSec=60
|
||||||
|
@@ -114,7 +114,6 @@ ExecStart=$proxy /home/pool/go/bin/poold --network=${chain}net --debuglevel=trac
|
|||||||
User=pool
|
User=pool
|
||||||
Group=pool
|
Group=pool
|
||||||
Type=simple
|
Type=simple
|
||||||
KillMode=process
|
|
||||||
TimeoutSec=60
|
TimeoutSec=60
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=60
|
RestartSec=60
|
||||||
|
@@ -143,7 +143,6 @@ Group=bitcoin
|
|||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/local/bin/lnd\
|
ExecStart=/usr/local/bin/lnd\
|
||||||
--configfile=/home/bitcoin/.lnd/${netprefix}lnd.conf
|
--configfile=/home/bitcoin/.lnd/${netprefix}lnd.conf
|
||||||
KillMode=process
|
|
||||||
Restart=always
|
Restart=always
|
||||||
TimeoutSec=120
|
TimeoutSec=120
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
Reference in New Issue
Block a user