* another round of dir-less .cache DEP updates
[t2sde.git] / package / audio / mpd / mpd.init
blobc9ca8c351c23749ca46857eafb59bb4566c636e9
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/mpd/mpd.init
3 # Copyright (C) 2004 - 2022 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
11
13 # Desc: MPD (Music Player Daemon)
14 # Runlevel: 90 rcX
17 main_begin
19     block_begin(start, `Starting Music Player Daemon (MPD)')
20         check(`D_bindir/mpd')
21     block_end
23     block_begin(stop, `Stopping Music Player Daemon (MPD)')
24         check(`killall D_bindir/mpd')
25     block_end
27     block_begin(update-db, `Updating Music Player Daemon (MPD) database')
28         check(`D_bindir/mpd --update-db')
29     block_end
31 main_end