summarylogtreecommitdiffstats
path: root/bn-init.service
blob: 84f4bfb97b4bc160443fd14c7cd87f21ad8b7e9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Bitcoin Node: initialize database in the configured directory
Conflicts=bn.service bs-init.service bs.service

[Service]
Type=oneshot
User=obelisk
Group=obelisk
ExecStart=/usr/bin/bn -i /etc/obelisk/bn/bn.cfg
MemoryDenyWriteExecute=true
NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
ProtectSystem=full
SystemCallArchitectures=native

[Install]
WantedBy=multi-user.target