mirror of
https://github.com/mempool/mempool.git
synced 2025-01-19 05:34:03 +01:00
Fix startup scripts in prod install
This commit is contained in:
parent
81c68620a1
commit
4ee9a42f3f
@ -3,7 +3,7 @@ Description=Bitcoind-signet
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/bitcoind -conf=bitcoin-signet.conf -daemon -signet -printtoconsole -pid=/bitcoin/bitcoind-signet.pid
|
||||
ExecStart=/usr/local/bin/bitcoind -conf=bitcoin.conf -daemon -signet -printtoconsole -pid=/bitcoin/bitcoind-signet.pid
|
||||
ExecStop=/usr/local/bin/bitcoin-cli -signet stop
|
||||
|
||||
Type=forking
|
||||
|
@ -3,7 +3,7 @@ Description=Bitcoind-testnet
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/bitcoind -conf=bitcoin-testnet.conf -daemon -testnet -printtoconsole -pid=/bitcoin/bitcoind-testnet.pid
|
||||
ExecStart=/usr/local/bin/bitcoind -conf=bitcoin.conf -daemon -testnet -printtoconsole -pid=/bitcoin/bitcoind-testnet.pid
|
||||
ExecStop=/usr/local/bin/bitcoin-cli -testnet stop
|
||||
|
||||
Type=forking
|
||||
|
22
production/linux/elements-testnet.service
Normal file
22
production/linux/elements-testnet.service
Normal file
@ -0,0 +1,22 @@
|
||||
[Unit]
|
||||
Description=Elementsd
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/elementsd -daemon -printtoconsole -chain=liquidtestnet -pid=/elements/elements-testnet.pid
|
||||
ExecStop=/usr/local/bin/elements-cli stop
|
||||
|
||||
Type=forking
|
||||
PIDFile=/elements/elements-testnet.pid
|
||||
Restart=on-failure
|
||||
|
||||
User=elements
|
||||
Group=elements
|
||||
|
||||
PrivateTmp=true
|
||||
ProtectSystem=full
|
||||
NoNewPrivileges=true
|
||||
PrivateDevices=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,17 +1,17 @@
|
||||
[Unit]
|
||||
Description=Liquid
|
||||
Description=Elementsd
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/elementsd -daemon -printtoconsole -pid=/liquid/liquid.pid
|
||||
ExecStart=/usr/local/bin/elementsd -daemon -printtoconsole -chain=liquidv1 -pid=/elements/elements.pid
|
||||
ExecStop=/usr/local/bin/elements-cli stop
|
||||
|
||||
Type=forking
|
||||
PIDFile=/liquid/liquid.pid
|
||||
PIDFile=/elements/elements.pid
|
||||
Restart=on-failure
|
||||
|
||||
User=liquid
|
||||
Group=liquid
|
||||
User=elements
|
||||
Group=elements
|
||||
|
||||
PrivateTmp=true
|
||||
ProtectSystem=full
|
Loading…
Reference in New Issue
Block a user