From 3d9d67de5345a741b4dbfa49ad857e22153e7685 Mon Sep 17 00:00:00 2001 From: Alan Lacerda Date: Tue, 10 Feb 2015 12:16:23 +0000 Subject: testing/vino: moved to main --- main/vino/vino.initd | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 main/vino/vino.initd (limited to 'main/vino/vino.initd') diff --git a/main/vino/vino.initd b/main/vino/vino.initd new file mode 100644 index 0000000000..46819d4164 --- /dev/null +++ b/main/vino/vino.initd @@ -0,0 +1,26 @@ +#!/sbin/runscript + +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 $? +} -- cgit v1.2.3