fix: repeatly autostart (issue#85)

This commit is contained in:
Doro Wu 2020-07-22 22:48:15 +08:00
parent 8e6e37e097
commit 75c5f5549f

View file

@ -13,7 +13,7 @@ if [ -n "$X11VNC_ARGS" ]; then
fi fi
if [ -n "$OPENBOX_ARGS" ]; then if [ -n "$OPENBOX_ARGS" ]; then
sed -i "s#^command=/usr/bin/openbox.*#& ${OPENBOX_ARGS}#" /etc/supervisor/conf.d/supervisord.conf sed -i "s#^command=/usr/bin/openbox\$#& ${OPENBOX_ARGS}#" /etc/supervisor/conf.d/supervisord.conf
fi fi
if [ -n "$RESOLUTION" ]; then if [ -n "$RESOLUTION" ]; then