Skip to content

Commit 2edb0c4

Browse files
committed
Use special group for nbxplorer-mainnet
This is pretty much preparation for the future when dgarage/NBXplorer#238 is implemented.
1 parent 4e16120 commit 2edb0c4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg_specs/nbxplorer-mainnet.sps

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ extra_service_config = """
88
Restart=always
99
"""
1010

11+
[extra_groups."nbxplorer-mainnet-access-rpc"]
12+
create = true
13+
1114
[config."nbxplorer.conf"]
1215
format = "plain"
1316
public = true
@@ -17,7 +20,7 @@ cat_dir = "conf.d"
1720
type = "path"
1821
file_type = "dir"
1922
default = "/var/lib/nbxplorer-mainnet"
20-
create = { mode = 750, owner = "nbxplorer-mainnet", group = "nbxplorer-mainnet"}
23+
create = { mode = 750, owner = "nbxplorer-mainnet", group = "nbxplorer-mainnet-access-rpc" }
2124
priority = "low"
2225
summary = "NBXplorer data directory"
2326

0 commit comments

Comments
 (0)