diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-16 12:19:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-16 12:19:55 +0000 |
commit | 45c1ae8dbb9953455bc0f9a46b077eacb889b1a3 (patch) | |
tree | fee4e002cba838263e25cba8d7dee042d267340e /community/vino/vino.initd | |
parent | 3e337b69a255cd50179583cfbe5ca385818bbf21 (diff) | |
download | aports-45c1ae8dbb9953455bc0f9a46b077eacb889b1a3.tar.bz2 aports-45c1ae8dbb9953455bc0f9a46b077eacb889b1a3.tar.xz |
community/vino: move from main
Diffstat (limited to 'community/vino/vino.initd')
-rw-r--r-- | community/vino/vino.initd | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/vino/vino.initd b/community/vino/vino.initd new file mode 100644 index 0000000000..bfff0868eb --- /dev/null +++ b/community/vino/vino.initd @@ -0,0 +1,26 @@ +#!/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 $? +} |