Automatically set up license key?

Need help? Post your questions here.

Moderator: moderators

Automatically set up license key?

Postby gswallow » Sat May 13, 2017 2:09 am

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!
gswallow
 
Posts: 3
Joined: Wed Dec 19, 2012 9:12 pm

Re: Automatically set up license key?

Postby Tak-MK » Sat May 13, 2017 12:30 pm

There's a free trial month, if you are reinstalling subsonic every day you don't need to enter the key, no?
User avatar
Tak-MK
 
Posts: 107
Joined: Thu Dec 22, 2016 3:27 pm

Re: Automatically set up license key?

Postby gswallow » Sat May 13, 2017 12:47 pm

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?
gswallow
 
Posts: 3
Joined: Wed Dec 19, 2012 9:12 pm

Re: Automatically set up license key?

Postby Tak-MK » Sun May 14, 2017 10:18 am

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).
User avatar
Tak-MK
 
Posts: 107
Joined: Thu Dec 22, 2016 3:27 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 18 guests