mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-21 13:42:32 +02:00
23 lines
282 B
Plaintext
Executable File
23 lines
282 B
Plaintext
Executable File
#!/sbin/runscript
|
|
|
|
depend() {
|
|
need net
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting VLC"
|
|
start-stop-daemon --start \
|
|
--user vlc \
|
|
--exec /usr/bin/vlc -- ${VLC_OPTS}
|
|
eend $?
|
|
}
|
|
|
|
stop () {
|
|
ebegin "Stopping VLC"
|
|
start-stop-daemon --stop \
|
|
--signal KILL \
|
|
--exec /usr/bin/vlc
|
|
eend $?
|
|
}
|
|
|