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

This commit is contained in:
Stephan Oeste committed 2022-07-08 11:54:26 +02:00
1 parent c9f788e3a4
commit 6582c8b36f
3 files changed
+29 -8

No files matched your search

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