aports/community/vino/vino.initd
2015-11-16 12:19:55 +00:00

27 lines
444 B
Plaintext

#!/sbin/openrc-run
command=/usr/libexec/vino-server
depend() {
need net
after firewall
}
start () {
ebegin "Starting vino-server"
export DISPLAY=:0.0
start-stop-daemon \
--background \
--start \
--exec $command
eend $?
}
stop () {
ebegin "Stopping vino-server"
start-stop-daemon \
--stop \
--exec $command
eend $?
}