summarylogtreecommitdiffstats
path: root/bn.service
blob: b8519a0a77310f0ddde7e08050c0291eab841058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=Bitcoin Node: a Bitcoin full node
Conflicts=bn-init.service bs-init.service bs.service

[Service]
Type=simple
User=obelisk
Group=obelisk
ExecStart=/usr/bin/bn /etc/obelisk/bn/bn.cfg
ExecReload=/usr/bin/kill -s SIGHUP $MAINPID
ExecStop=/usr/bin/kill -s SIGINT $MAINPID
MemoryDenyWriteExecute=true
NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
ProtectSystem=full
SystemCallArchitectures=native

[Install]
WantedBy=multi-user.target