How do I start the asset server?

How do I start the asset server on a linux machine? I can see several programs in /opt/unity_asset_server/bin, but nothing called “start” or “restart” or anything like that. How can I control when the server is running?

Edit: before I described how I extracted a script from /etc/rc.d and moved it to a more accessible location, but being a novice linux administrator, I didn’t realize the script was already in /etc/init.d.


Okay I figured it out. The server can be controlled with /opt/unity_asset_server/bin/pg_ctl, but it takes several options and is just run as the current user.

Regular starting/stopping/restarting of the asset server can be done with /etc/init.d/unity_asset_server