We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1028195 commit 9299fd5Copy full SHA for 9299fd5
snap/snapcraft.yaml
@@ -11,6 +11,17 @@ confinement: strict
11
base: core18
12
13
apps:
14
+ service:
15
+ command: bitcoind -startupnotify='systemd-notify --ready' --shutdownnotify='systemd-notify --stopping'
16
+ daemon: notify
17
+ plugs: [home, removable-media, network, network-bind]
18
+ environment:
19
+ # Override HOME so the datadir is located at
20
+ # ~/snap/bitcoin-core/common/.bitcoin/ instead of
21
+ # ~/snap/bitcoin-core/current/.bitcoin/, and each new version of the
22
+ # snap won't have a different data directory:
23
+ # https://docs.snapcraft.io/environment-variables/7983
24
+ HOME: $SNAP_USER_COMMON
25
daemon:
26
command: bitcoind
27
plugs: [home, removable-media, network, network-bind]
0 commit comments