Asset Server on Ubuntu

From Unify Community Wiki
Revision as of 20:22, 8 July 2009 by Ryan scott (Talk | contribs)

Jump to: navigation, search

The following changes got AS working on Ubuntu for me. Your mileage may vary of course.

The following patch will do the trick (I've also attached the file).

<pre> --- a/install.sh +++ b/install.sh @@ -118,12 +118,12 @@ fi if [ -x /sbin/rc-update ] ; then # Gentoo /sbin/rc-update add unity_asset_server default -elif [ -x /sbin/update-rc.d ] ; then # Debian? - /sbin/update-rc.d unity_asset_server defaults 80 +elif [ -x /usr/sbin/update-rc.d ] ; then # Debian? + /usr/sbin/update-rc.d unity_asset_server defaults 80 else # Assume redhat-ish /sbin/chkconfig --add unity_asset_server /sbin/chkconfig unity_asset_server on fi -$prefix/bin/reset_admin_password +#$prefix/bin/reset_admin_password index a1039ef..363357b 100755 --- a/unity_build/unity_asset_server.sysvinit +++ b/unity_build/unity_asset_server.sysvinit @@ -7,13 +7,13 @@ # config: /opt/unity_asset_server/data/postgresql.conf # Source function library. -. /etc/init.d/functions +#. /etc/init.d/functions # Source networking configuration. -. /etc/sysconfig/network +#. /etc/sysconfig/network # Check that networking is up. -[ X\${NETWORKING} = Xno ] && exit 0 +#[ X\${NETWORKING} = Xno ] && exit 0 ## # UnityAssetServer startup script @@ -75,7 +75,7 @@ start () { if [ $RETVAL -eq 0 ]; then echo_success echo - touch /var/lock/subsys/unity_asset_server + touch /var/lock/unity_asset_server else echo_failure echo @@ -89,7 +89,7 @@ stop () { RETVAL=$? if [ $RETVAL = 0 ]; then echo_success - rm -f /var/lock/subsys/unity_asset_server + rm -f /var/lock/unity_asset_server else echo_failure fi @@ -122,7 +122,7 @@ case "$1" in restart ;; *) - echo "Usage: jabberd {start|stop|status|restart}" + echo "Usage: unity_asset_server {start|stop|status|restart}" exit 1 esac </pre>


Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox