instructure/canvas-lms — Issue #131: canvas_init on Freebsd
Author: waver
Created: 2011-12-20 11:34:32+00:00
State: open

im try install canvas on freebsd 9 - PRELEASE,a little trouble with canvas_init script
when try to running script get this error

stat: %U: bad format

look like error on line :

# drop privs if necessary
if [ "$(id -u)" == "0" ]; then
exec su $(stat -f %U $(dirname $(readlink -f $0))/../config/environment.rb) -c "/usr/local/bin/bash $0 $@"
exit -1;
fi

but if remove that line, the was script running ,so the script/delayed_job running too,did safe to disable that line script?. that mean drop privs script not running,but delayed job was running
i try that t and work,now canvas running on my freebsd