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"
}




Reply via email to