public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/guacamole-server/files: guacd.service guacd
@ 2015-06-13  9:15 Andreas Schuerch (nativemad)
  0 siblings, 0 replies; only message in thread
From: Andreas Schuerch (nativemad) @ 2015-06-13  9:15 UTC (permalink / raw
  To: gentoo-commits

nativemad    15/06/13 09:15:22

  Added:                guacd.service guacd
  Log:
  Version bump, license change, init options and lots more thanks to Malte Starostik. See bug 541718
  
  (Portage version: 2.2.18/cvs/Linux i686, signed Manifest commit with key 60373227)

Revision  Changes    Path
1.1                  net-misc/guacamole-server/files/guacd.service

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/guacamole-server/files/guacd.service?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/guacamole-server/files/guacd.service?rev=1.1&content-type=text/plain

Index: guacd.service
===================================================================
[Unit]
Description=Guacamole proxy daemon
Documentation=man:guacd(8)

[Service]
ExecStart=/usr/sbin/guacd -f
StandardOutput=null
User=guacd

[Install]
WantedBy=multi-user.target



1.1                  net-misc/guacamole-server/files/guacd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/guacamole-server/files/guacd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/guacamole-server/files/guacd?rev=1.1&content-type=text/plain

Index: guacd
===================================================================
#!/sbin/runscript
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/guacamole-server/files/guacd,v 1.1 2015/06/13 09:15:22 nativemad Exp $

DAEMON="/usr/sbin/guacd"
PIDFILE="/run/guacd/guacd"

depend() {
    use net
}

start() {
    checkpath -q -d -m 0755 -o guacd:guacd /run/guacd/
    ebegin "Starting guacd"
    start-stop-daemon --start --user guacd:guacd --exec "${DAEMON}" -- -p "${PIDFILE}"
    eend $? "Failed to start guacd"
}

stop() {
    ebegin "Stopping guacd"
    start-stop-daemon --stop --pidfile "${PIDFILE}"
    eend $? "Failed to stop guacd"
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-13  9:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-13  9:15 [gentoo-commits] gentoo-x86 commit in net-misc/guacamole-server/files: guacd.service guacd Andreas Schuerch (nativemad)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox