rdt-client/root/etc/s6-overlay/s6-rc.d/init-rdt-client/run
Christopher Snowhill 10c214d721
Fix permissions sweep
It should not be setting permissions on data that lives in the image.

Fixes #716
2025-02-22 01:42:03 -08:00

13 lines
254 B
Text
Executable file

#!/usr/bin/with-contenv bash
# cleanup pid if it exists
[[ -e /config/rtdclient.pid ]] && \
rm -rf /config/rtdclient.pid
[[ -e /data/rtdclient.pid ]] && \
rm -rf /data/rtdclient.pid
# permissions
echo "Setting permissions"
chown -R abc:abc \
/data