2022-07-05 13:54:58 +02:00
|
|
|
[Unit]
|
2022-07-08 11:12:25 +02:00
|
|
|
Description=Elementsd-liquidtestnet
|
2022-07-05 13:54:58 +02:00
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2022-07-08 11:12:25 +02:00
|
|
|
ExecStart=/usr/local/bin/elementsd -daemon -printtoconsole -chain=liquidtestnet -pid=/elements/elements-liquidtestnet.pid
|
2022-07-05 13:54:58 +02:00
|
|
|
ExecStop=/usr/local/bin/elements-cli stop
|
|
|
|
|
|
|
|
Type=forking
|
2022-07-08 11:12:25 +02:00
|
|
|
PIDFile=/elements/elements-liquidtestnet.pid
|
2022-07-05 13:54:58 +02:00
|
|
|
Restart=on-failure
|
|
|
|
|
2022-07-07 12:19:51 +02:00
|
|
|
User=elements
|
|
|
|
Group=elements
|
2022-07-05 13:54:58 +02:00
|
|
|
|
|
|
|
PrivateTmp=true
|
|
|
|
ProtectSystem=full
|
|
|
|
NoNewPrivileges=true
|
|
|
|
PrivateDevices=true
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|