summaryrefslogtreecommitdiff
blob: c3469fff2286da6cf83731f1ab3337fa2a777142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# It's not recommended to modify this file in-place, because it will be
# overwritten during package upgrades. If you want to customize, the
# best way is to create file
# "/etc/systemd/system/bitcoinxtd.service.d/*.conf"
# containing your changes

# For example, if you want to change some daemon and/or unit options,
# create a file named
# "/etc/systemd/system/bitcoinxtd.service.d/myopts.conf"
# containing:
#       [Service]
#       Environment="BITCOINXT_OPTS=-debug -logtimestamps"
#       Nice=10
# This will override the setting appearing below.

# Note that almost all daemon options could be specified in
# /etc/bitcoinxt/bitcoinxt.conf

[Unit]
Description=BitcoinXT Daemon
After=network.target

[Service]
User=bitcoinxt
Environment=BITCOINXT_OPTS=
ExecStart=/usr/bin/bitcoinxtd -daemon=0 $BITCOINXT_OPTS
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target