|
@@ -7,6 +7,7 @@ stop on shutdown |
|
|
# Monit depends on the location of this pid |
|
|
# so if you move it, also update scripts/monit.rc |
|
|
env PID=/var/run/blot.pid |
|
|
env LOG=/var/www/blot/logs/sys.log |
|
|
|
|
|
# Respawn Blot up to 10 times within a 5 second period before |
|
|
# failing and stopping Blot permanently |
|
@@ -22,7 +23,7 @@ script |
|
|
. /etc/blot/environment.sh |
|
|
|
|
|
# Ensure the cache directory has been mounted to ephemeral instance storage |
|
|
# exec sudo $BLOT_DIRECTORY/scripts/production/mount_disk.sh || true |
|
|
exec sudo $BLOT_DIRECTORY/scripts/production/mount_disk.sh >> $LOG 2>&1 |
|
|
|
|
|
# Run the script which starts the Blot service |
|
|
exec sudo -u $BLOT_USER $BLOT_START |
|
|
0 comments on commit
255d217