From db9b6035912f2618a18f3fef45b99e2a0f6f0b00 Mon Sep 17 00:00:00 2001
From: sinanmohd <pcmsinan@gmail.com>
Date: Sat, 15 Oct 2022 09:25:06 +0530
Subject: monero: give proper permissions to monerod and change config name

---
 monero/monero-srv/run | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'monero')

diff --git a/monero/monero-srv/run b/monero/monero-srv/run
index 1f51e2c..9cc195e 100644
--- a/monero/monero-srv/run
+++ b/monero/monero-srv/run
@@ -1,5 +1,5 @@
 #!/bin/execlineb -P
-envfile /etc/s6/config/monerod.conf
+envfile /etc/s6/config/monero.conf
 importas -sCuD "" OPTS OPTS
 fdmove -c 2 1
-exec /usr/bin/monerod ${OPTS}
+s6-setuidgid monero exec /usr/bin/monerod --non-interactive ${OPTS}
-- 
cgit v1.2.3