summarylogtreecommitdiffstats
path: root/cardano-node.service
blob: dbc8ef4226c036389dc452edbb0f054f56626810 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Unit]
Description=Cardano node
Requires=network.target

[Service]
Type=simple
EnvironmentFile=/etc/conf.d/cardano-node
ExecStart=cardano-node run \
    --database-path $DB_PATH \
    --socket-path $SOCKET_PATH \
    --host-addr $BIND_IPV4 \
    --host-ipv6-addr $BIND_IPV6 \
    --port $BIND_PORT \
    --config $CONFIG_FILE  \
    --topology $TOPOLOGY_FILE
Restart=always
RestartSec=60
User=cardano
TimeoutStopSec=90

[Install]
WantedBy=multi-user.target