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

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

[Install]
WantedBy=multi-user.target