Skip to content

Commit

Permalink
changed script again
Browse files Browse the repository at this point in the history
  • Loading branch information
SaminYaser-work committed Sep 16, 2023
1 parent 4bcbe21 commit 6d6ba9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions startup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

echo "Script started" > /home/site/wwwroot/startup_status.txt
echo "$(date '+%Y-%m-%d %H:%M:%S') Script started" >> /home/logs.txt

# File upload fix
sed -i 's|abort_unless|//&|g' /home/site/wwwroot/vendor/livewire/livewire/src/Controllers/FileUploadHandler.php
Expand All @@ -23,4 +23,4 @@ php artisan event:cache
php artisan route:cache
php artisan view:cache

echo "$(date '+%Y-%m-%d %H:%M:%S') Startup script ran successfully." > /home/site/wwwroot/startup_status.txt
echo "$(date '+%Y-%m-%d %H:%M:%S') Startup script ran successfully." >> /home/logs.txt

0 comments on commit 6d6ba9d

Please sign in to comment.