This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
computing:airsonic [2022/07/31 21:02] – oemb1905 | computing:airsonic [2022/10/16 05:23] – oemb1905 | ||
---|---|---|---|
Line 59: | Line 59: | ||
wget https:// | wget https:// | ||
| | ||
- | Once you run the .war it will create all necessary sub folders. I am still not clear on how to migrate meta-data between instances. The wget above is for the .war that is current as of this post; make sure to always check! | + | Once you run the .war it will create all necessary sub folders. I am still not clear on how to migrate meta-data between instances. The wget above is for the .war that is current as of this post; make sure to always check. Also, if your server stops/ |
- | + | ||
- | --- // | + | #!/bin/sh |
+ | | ||
+ | |||
+ | if | ||
+ | |||
+ | ps -ef | grep "java -jar" > / | ||
+ | tail -n -2 / | ||
+ | |||
+ | then | ||
+ | |||
+ | echo " | ||
+ | |||
+ | else | ||
+ | |||
+ | export TERM=' | ||
+ | su - airsonic << | ||
+ | script | ||
+ | screen -S airsonic bash -c "java -jar -Dserver.port=8081 / | ||
+ | SHT | ||
+ | |||
+ | fi | ||
+ | |||
+ | I tested this and it runs flawlessly. | ||
+ | |||
+ | --- // |