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

[Service]
Type=simple
ExecStart=cardano-node run \
    --database-path $DB_PATH \
    --socket-path $SOCKET_PATH \
    --host-addr $BIND_HOST \
    --port $BIND_PORT \
    --config $CONFIG_FILE  \
    --topology $TOPOLOGY_FILE
Restart=always
RestartSec=60
User=cardano
TimeoutStopSec=90

[Install]
WantedBy=multi-user.target