Revision 4511bcf5
Added by Tomáš Strachota about 10 years ago
debian/squeeze/foreman/foreman.postinst | ||
---|---|---|
fi
|
||
fi
|
||
|
||
# Generate apipie cache
|
||
if [ ! -z "${DEBUG}" ]; then
|
||
/usr/sbin/foreman-rake apipie:cache || true
|
||
else
|
||
/usr/sbin/foreman-rake apipie:cache >> $LOGFILE 2>&1 || true
|
||
fi
|
||
|
||
# Generate a static session token for signing cookies
|
||
if [ ! -f config/initializers/local_secret_token.rb ]; then
|
||
touch config/initializers/local_secret_token.rb
|
Also available in: Unified diff
Foreman - generate apipie cache on postinstall