You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
2.5 KiB
28 lines
2.5 KiB
3 years ago
|
[Unit]
|
||
|
Description=Bitcoin daemon
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=notify
|
||
|
NotifyAccess=all
|
||
|
ExecStart=BITCOIND --daemon --server --pid=HOME/.bitcoin/bitcoind.pid
|
||
|
|
||
|
Type=forking
|
||
|
PIDFile=HOME/.bitcoin/bitcoind.pid
|
||
|
Restart=on-failure
|
||
|
|
||
|
KillSignal=SIGINT
|
||
|
TimeoutSec=60
|
||
|
WatchdogSec=60
|
||
|
LimitNOFILE=32768
|
||
|
User=USER
|
||
|
Group=USER
|
||
|
|
||
|
# Hardening
|
||
|
PrivateTmp=yes
|
||
|
PrivateDevices=yes
|
||
|
MemoryDenyWriteExecute=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|