ayaports/backports/airsonic-advanced/airsonic-advanced.initd

15 lines
323 B
Text
Raw Permalink Normal View History

2023-03-10 05:17:26 +00:00
#!/sbin/openrc-run
supervisor=supervise-daemon
name="airsonic-advanced"
command="/usr/lib/jvm/java-11-openjdk/jre/bin/java"
command_args="-jar airsonic.war"
command_user="airsonic-advanced:airsonic-advanced"
directory="/var/airsonic"
pidfile="/run/airsonic-advanced.pid"
depend() {
need net localmount
after firewall
}