2014-11-15 11:41:14 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Bitcoin Daemon
|
|
|
|
Requires=network.target
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2021-08-27 17:22:13 +02:00
|
|
|
# added automatically, for details please see
|
|
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
ProtectSystem=full
|
|
|
|
ProtectHome=true
|
|
|
|
PrivateDevices=true
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectClock=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
RestrictRealtime=true
|
|
|
|
# end of automatic additions
|
2014-11-15 11:41:14 +01:00
|
|
|
User=bitcoin
|
|
|
|
PIDFile=/run/bitcoin/bitcoind.pid
|
2020-03-11 16:12:03 +01:00
|
|
|
ExecStart=/usr/bin/bitcoind -conf=/etc/bitcoin/bitcoin.conf -pid=/run/bitcoin/bitcoind.pid -datadir=/var/lib/bitcoin
|
2014-11-15 11:41:14 +01:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2017-06-01 16:33:37 +02:00
|
|
|
Restart=on-failure
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|