For some reason I cannot get Subsonic to run as a non-root user. I am running it on Ubuntu Server 12.04
I stopped the service and added a user named "subsonic".
sudo su
service subsonic stop
adduser --system --no-create-home subsonic
adduser subsonic audio
Edited /etc/default/subsonic and added the line "SUBSONIC_USER=subsonic" (obviously without the quote marks)
Then made the necessary changes to the directories....
chown -R subsonic:nogroup /tmp/subsonic
chown -R subsonic:nogroup /var/subsonic
chown -R root:root /var/subsonic/transcode
chown -R root:root /var/subsonic/jetty/*/webapp
chown subsonic /etc/default/subsonic
chmod 754 /etc/default/subsonic
(no error messages were returned...)
restarted subsonic.....
service subsonic restart
and I still get the following:
root@subsonic:/etc/init.d# ps -Af | grep subsonic
root 2130 1 49 22:52 pts/0 00:00:07 java -Xmx100m -Dsubsonic.home=/var/subsonic -Dsubsonic.host=0.0.0.0 -Dsubsonic.port=4040 -Dsubsonic.httpsPort=0 -Dsubsonic.contextPath=/ -Dsubsonic.defaultMusicFolder=/var/music -Dsubsonic.defaultPodcastFolder=/var/music/Podcast -Dsubsonic.defaultPlaylistFolder=/var/playlists -Djava.awt.headless=true -verbose:gc -jar subsonic-booter-jar-with-dependencies.jar
root 2165 1972 0 22:52 pts/0 00:00:00 grep --color=auto subsonic
Also I get the warning message when accessing subsonic from its URL.
I must be missing something very basic here... What am I missing or not doing?