aboutsummaryrefslogtreecommitdiff
path: root/monero/monero-srv/run
diff options
context:
space:
mode:
authorsinanmohd <pcmsinan@gmail.com>2022-10-15 09:25:06 +0530
committersinanmohd <pcmsinan@gmail.com>2022-10-15 09:25:06 +0530
commitdb9b6035912f2618a18f3fef45b99e2a0f6f0b00 (patch)
tree3f49be6ec16e568c454e2852379a5eb1add117c9 /monero/monero-srv/run
parenta99684fa34754f21ad464dbc47108d646de6e571 (diff)
monero: give proper permissions to monerod and change config name
Diffstat (limited to 'monero/monero-srv/run')
-rw-r--r--monero/monero-srv/run4
1 files changed, 2 insertions, 2 deletions
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}