Skip to content

Commit

Permalink
Use special group for nbxplorer-mainnet
Browse files Browse the repository at this point in the history
This is pretty much preparation for the future when
dgarage/NBXplorer#238 is implemented.
  • Loading branch information
Kixunil committed Feb 6, 2020
1 parent 4e16120 commit 2edb0c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg_specs/nbxplorer-mainnet.sps
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ extra_service_config = """
Restart=always
"""

[extra_groups."nbxplorer-mainnet-access-rpc"]
create = true

[config."nbxplorer.conf"]
format = "plain"
public = true
Expand All @@ -17,7 +20,7 @@ cat_dir = "conf.d"
type = "path"
file_type = "dir"
default = "/var/lib/nbxplorer-mainnet"
create = { mode = 750, owner = "nbxplorer-mainnet", group = "nbxplorer-mainnet"}
create = { mode = 750, owner = "nbxplorer-mainnet", group = "nbxplorer-mainnet-access-rpc" }
priority = "low"
summary = "NBXplorer data directory"

Expand Down

0 comments on commit 2edb0c4

Please sign in to comment.