# Install a Liquid node so it runs at boot time

Source URL: https://helpcenter.dxp-frontend.devserver.app/liquid-network/perform-advanced-liquid-operations/install-a-liquid-node-so-it-runs-at-boot-time
Updated: 2026-04-09T09:35:47.000Z
Category: Liquid Network
Section: Perform Advanced Liquid Operations

---

This how-to describes the steps to set up elementsd as a service running in background.

## Assumptions

- Your elementsd is in `/usr/local/bin/ `
- You will run elementsd as the user `liquid1`
- The service will be named `elementsd`
- The tests were done on Ubuntu 22.04, but the procedure/commands should work on most Linux distributions.

## Steps

1.

Create a file `/etc/systemd/system/elementsd.service` with the following content:

[Unit]  
Description=Liquid daemon  
After=network-online.target  
  
[Service]  
User=liquid1  
Group=liquid1  
  
Type=simple  
ExecStart=/usr/local/bin/elementsd  
  
PrivateTmp=true  
TimeoutStopSec=1200s  
TimeoutStartSec=5s  
# Fail when 10 tries within 1 minute fail (never)  
StartLimitInterval=60s  
StartLimitBurst=10  
# Limit attempts to 1 per 10 seconds  
Restart=always  
RestartSec=10  
  
[Install]  
WantedBy=multi-user.target

2.

Check user and group (if the user doesn't exist, create it using `useradd -m liquid1`).

3.

Run:

systemctl daemon-reload

4.

Place your elements config file in `/home/liquid1/.elements/elements.conf` and configure the right values to connect to bitcoind (or set `validatepegin=0` instead). Also, you will need to set `daemon=0.`

5.

To set up the service to start on boot up (and also execute it now), run:

systemctl enable --now elementsd

6.

You can check that the service is running correctly by running:

journalctl -efu elementsd

Navigation: Blockstream Help Center > Liquid Network > Install a Liquid node so it runs at boot time

## Related Articles in This Section
- [Set up a Liquid node](https://helpcenter.dxp-frontend.devserver.app/liquid-network/perform-advanced-liquid-operations/set-up-a-liquid-node)
- [Install a Liquid node so it runs at boot time](https://helpcenter.dxp-frontend.devserver.app/liquid-network/perform-advanced-liquid-operations/install-a-liquid-node-so-it-runs-at-boot-time) (current)
- [Create a watch-only wallet with a Liquid (Elements) node](https://helpcenter.dxp-frontend.devserver.app/liquid-network/perform-advanced-liquid-operations/create-a-watch-only-wallet-with-a-liquid-elements-node)
- [Peg in BTC to the Liquid Network](https://helpcenter.dxp-frontend.devserver.app/liquid-network/perform-advanced-liquid-operations/peg-in-btc-to-the-liquid-network)
- [Enable peg-in validation on my Liquid node](https://helpcenter.dxp-frontend.devserver.app/liquid-network/perform-advanced-liquid-operations/enable-peg-in-validation-on-my-liquid-node)
- [Issue an asset on Liquid](https://helpcenter.dxp-frontend.devserver.app/liquid-network/perform-advanced-liquid-operations/issue-an-asset-on-liquid)
