Page 1 of 1

Automatically set up license key?

PostPosted: Sat May 13, 2017 2:09 am
by gswallow
Hi,

I am cobbling some scripts together to automatically create a Subsonic server out on EC2, here: https://github.com/gswallow/sparkleformation-subsonic.

Everything is working really well except for the license key. I tried this approach:

- Install the subsonic package from deb
- Customize /etc/default/subsonic to set the correct user, correct folders, etc.
- Restart subsonic
- Insert my license key into /var/subsonic/subsonic.properties
- Restart subsonic, again.

Is there something I'm missing, trying to automatically license my server? My intention is to shut down my server every night for 12 hours, in order to save on EC2 costs. Then it will rebuild itself in the morning.

Thanks!

Re: Automatically set up license key?

PostPosted: Sat May 13, 2017 12:30 pm
by Tak-MK
There's a free trial month, if you are reinstalling subsonic every day you don't need to enter the key, no?

Re: Automatically set up license key?

PostPosted: Sat May 13, 2017 12:47 pm
by gswallow
The server gets rebuilt daily.

Using an external db is probably the way to go. Is there a way to get into the hsqldb store?

Re: Automatically set up license key?

PostPosted: Sun May 14, 2017 10:18 am
by Tak-MK
gswallow wrote:The server gets rebuilt daily.

Using an external db is probably the way to go. Is there a way to get into the hsqldb store?

With HSQLDB I don't know, but you can use a MySQL/MariaDB/PostgreSQL in another EC2 VM (RDS is too expensive).