diff --git a/start.sh b/start.sh index 2c512d8..9c0753e 100755 --- a/start.sh +++ b/start.sh @@ -63,7 +63,11 @@ if [ ! -e /srv/.vimrc ]; then fi # Crontab -test ! -e /srv/conf/crontab && touch /srv/conf/crontab +if [ test ! -e /srv/conf/crontab]; then + echo 'PATH=/srv/bin/primary_tech:/srv/bin/primary_tech/sbin:/srv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/bin:/sbin:/srv/bin/primary_tech:/srv/bin/primary_tech/sbin:/srv/bin:/srv/bin/active_bun:/srv/bin/active_deno:/srv/bin/active_golang:/srv/bin/active_node:/srv/bin/active_openjdk:/srv/bin/active_php:/srv/bin/active_python:/srv/bin/active_ruby' > /srv/conf/crontab + echo "" >> /srv/conf/crontab + echo "" >> /srv/conf/crontab +fi if [ -e /srv/conf/crontab ]; then crontab -u app /srv/conf/crontab fi