On one occasion, the 256k limit was reached.
Also removed inode limit.
if [ ! -d ${INIT_LOG_PATH} ]; then
boot_failure "Missing ${INIT_LOG_PATH} directory."
fi
-
- mount -t tmpfs -o size=256k,nr_inodes=10,mode=0755 tmpfs ${INIT_LOG_PATH} &&
+
+ mount -t tmpfs -o mode=0755 tmpfs ${INIT_LOG_PATH} &&
touch ${INIT_LOG_FILE}
;;
-
+
stop)
umount ${INIT_LOG_PATH}
;;
-
+
restart)
$0 stop
sleep 1
$0 start
;;
-
+
*)
echo "Usage: $0 {start|stop|restart}"
exit ${EXIT_CODE_FAILURE}