I'm a linux super newbie so let's break it down. I am following these instructions but it still doesn't seem to be working.
My stardog.conf file looks like:
description "stardog database"
start on runlevel [2345]
stop on runlevel [!2345]
umask 077
env STARDOG_UID=azureuser
env STARDOG_GID=1000
env ROOTJAIL=
env STARDOG_LOCATION=/stardog
env STARDOG_HOME=
exec /bin/bash /stardog/sparent
respawn
I've placed this .conf file inside /etc/init like the directions say, I have an schild and sparent file placed in the stardog directory, then I run "sudo start stardog" in the VM. This doesn't seem to work because even when I get a list of all processes (ps -a) stardog or java doesn't appear on the list (it would show up as a java service). When I reboot, stardog is not running.
For the scripts at https://github.com/snowell/stardog-ubuntu-scripts - make sure to set all of the variables. Did you set STARDOG_HOME? This needs to be the directory where Stardog will store the variables.
If you'd like a more direct script that inspired the source github project, here was one of the very first Ubuntu upstart scripts for Stardog (this was 1.x) and was generalized with the conf file for the above repo.
uparent:
And the corresponding schlid