summarylogtreecommitdiffstats
path: root/cardano-node-testnet.service
blob: 7c76d93d8cca3a37c7c4c5ddb492c9cb10706f70 (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 (testnet)
Requires=network.target

[Service]
Type=simple
EnvironmentFile=/etc/conf.d/cardano-node-testnet
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