We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f549757 commit d768a70Copy full SHA for d768a70
root/etc/s6-overlay/s6-rc.d/init-sma-config/run
@@ -185,6 +185,10 @@ chown -R abc:abc ${SMA_PATH}
185
chmod -R 775 ${SMA_PATH}/*.sh
186
187
# update autoprocess
188
-${SMA_PATH}/venv/bin/python3 ${SMA_PATH}/update.py
+if [ -w "$SMA_PATH/config/autoProcess.ini" ]; then
189
+ ${SMA_PATH}/venv/bin/python3 ${SMA_PATH}/update.py
190
+else
191
+ echo "${echoprefix} autoProcess.ini does not have write permission, it will need to be configured manually"
192
+fi
193
194
exit $?
0 commit comments