Commit c680af50 authored by Tom Lebreux's avatar Tom Lebreux Committed by Leo
Browse files

testing/navidrome: add scan initd command

parent 3a6798b0
......@@ -9,11 +9,17 @@ command_args="--nobanner --configfile $navidrome_configfile"
command_user="navidrome:navidrome"
directory="/var/lib/$RC_SVCNAME"
extra_started_commands="scan"
start_pre() {
[ -n "$error_log" ] && checkpath -f "$error_log" \
-m 644 -o navidrome:navidrome
}
scan() {
${supervisor} "${SVCNAME}" --signal USR1
}
depend() {
need net localmount
after firewall
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment