summarylogtreecommitdiffstats
path: root/namecoin-reindex.service
blob: 3b50c82154f663292e670fde104eb4fd96b00e82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Namecoin Daemon (reindex)
Conflicts=namecoin.service
After=network.target

[Service]
User=namecoin
Group=namecoin
ExecStart=/usr/bin/namecoind -daemon=0                       \
                            -conf=/etc/namecoin/namecoin.conf \
                            -datadir=/var/lib/namecoin      \
                            -reindex                        \
                            -pid=/run/namecoind.pid
ExecReload=/usr/bin/kill -HUP $MAINPID
ExecStop=/usr/bin/namecoind stop

[Install]
WantedBy=multi-user.target