give user write access to the folder with node

Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
Uncle Stinky 2024-10-16 13:59:35 +03:00
parent 5af5647987
commit af3895a5f0
Signed by: st1nky
GPG Key ID: 016064BD97603B40

View File

@ -6,6 +6,7 @@ Documentation=https://git.ghostchain.io/ghostchain/ghost-node
[Service] [Service]
EnvironmentFile=-/etc/default/ghost EnvironmentFile=-/etc/default/ghost
ExecStart=/usr/bin/ghost $GHOST_CLI_ARGS ExecStart=/usr/bin/ghost $GHOST_CLI_ARGS
ReadWritePaths=/var/lib/ghost
User=ghost User=ghost
Restart=always Restart=always
RestartSec=30 RestartSec=30