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.
26 lines
408 B
26 lines
408 B
3 years ago
|
[Unit]
|
||
3 years ago
|
Description=Bitcoin daemon
|
||
|
After=network.target
|
||
3 years ago
|
|
||
|
[Service]
|
||
|
Type=notify
|
||
3 years ago
|
NotifyAccess=all
|
||
3 years ago
|
ExecStart=BITCOIND --daemonwait --server --pid=HOME/.bitcoin/bitcoind.pid
|
||
3 years ago
|
|
||
|
Type=forking
|
||
|
PIDFile=HOME/.bitcoin/bitcoind.pid
|
||
|
Restart=on-failure
|
||
|
|
||
3 years ago
|
KillSignal=SIGINT
|
||
3 years ago
|
LimitNOFILE=32768
|
||
3 years ago
|
User=USER
|
||
|
Group=USER
|
||
|
|
||
3 years ago
|
# Hardening
|
||
|
PrivateTmp=yes
|
||
|
PrivateDevices=yes
|
||
|
MemoryDenyWriteExecute=true
|
||
3 years ago
|
|
||
|
[Install]
|
||
3 years ago
|
WantedBy=multi-user.target
|