Hello. I’m new to Roon. I’ve installed the server via the easy install package on Ubuntu 14.04
I want the data folder to be in a different location. Do I just edit /etc/init.d/roonserver and change the ROON_DATAROOT env var there?
Ok, thanks. I’ve already run the installer! So now where does it need to be edited.
Would have been nice if the article suggested editing the installer script. there is NOTHING in the article about editing the installer script first! In fact, the suggestion in the article is to set the env var every time before running start.sh.
so, again, thanks for the info, but now that I have already run the installer, where does it need to be edited? Just in init.d, or somewhere else too?
Thanks, but no such file on Ubuntu 14.04
/etc/systemd/system/roonserver.service
You sure you didn’t mean “/etc/init.d/roonserver” ?
Please note that I never suggested editing start.sh
I just need to know if Roon is likely to edit /etc/init.d/roonserver on an update.
I also don’t quite understand why ROON_DATAROOT is hard coded in /etc/init.d/roonserver and not looked for in a config file.
Save by hitting CTRL+O (not zero) and press enter. Leave the editor by pressing CTRL+X.
Then start Roon Server again:
sudo /etc/init.d/roonserver start
I know you did not suggest editing the start.sh script. I added it just for reference, if others are struggling with this as well.
Start scripts (regardless if init.d or system.d) will not be modified by a Roon update. They are only created by the “Easy Installer” script which won’t be called by Roon itself or by the Roon update mechanism.
Again, I suspect the more detailed post is there to help others that may want to do the same but aren’t possessed of your level of assumed Linux knowledge.
Just thought I’d bump this thread and add my thanks. I’ve just done a reinstall of my Linux server and Roon and couldn’t remember how I changed the location of my Roon Database and Logs which kept filling up my small boot disk and root partition when I first started out with Roon many years ago.
Thanks!
Michael