#!/sbin/openrc-run
# Copyright 2018-2019 Hyperbola Project
# Distributed under the terms of the GNU General Public License v2

description="FluidSynth service"

command=/usr/bin/fluidsynth
command_args="-is -a $AUDIO_DRIVER $OTHER_OPTS $SOUND_FONT"
command_background="yes"
pidfile="/run/fluidsynth.pid"

depend() {
	need localmount
	use alsasound
}
