From af3895a5f0da4bb5bf3a0c4b3401f8196f9b747d Mon Sep 17 00:00:00 2001 From: Uncle Stinky Date: Wed, 16 Oct 2024 13:59:35 +0300 Subject: [PATCH] give user write access to the folder with node Signed-off-by: Uncle Stinky --- scripts/packaging/template.service | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/packaging/template.service b/scripts/packaging/template.service index d745ae8..c0f5a52 100644 --- a/scripts/packaging/template.service +++ b/scripts/packaging/template.service @@ -6,6 +6,7 @@ Documentation=https://git.ghostchain.io/ghostchain/ghost-node [Service] EnvironmentFile=-/etc/default/ghost ExecStart=/usr/bin/ghost $GHOST_CLI_ARGS +ReadWritePaths=/var/lib/ghost User=ghost Restart=always RestartSec=30