Fix service name to elements and add elements testnet for prod install

This commit is contained in:
Stephan Oeste
2022-07-08 11:12:25 +02:00
parent c9f788e3a4
commit 6582c8b36f
3 changed files with 29 additions and 8 deletions

View File

@@ -0,0 +1,22 @@
[Unit]
Description=Elementsd-liquid
After=network.target
[Service]
ExecStart=/usr/local/bin/elementsd -daemon -printtoconsole -chain=liquidv1 -pid=/elements/elements-liquid.pid
ExecStop=/usr/local/bin/elements-cli stop
Type=forking
PIDFile=/elements/elements-liquid.pid
Restart=on-failure
User=elements
Group=elements
PrivateTmp=true
ProtectSystem=full
NoNewPrivileges=true
PrivateDevices=true
[Install]
WantedBy=multi-user.target