Hlavní navigace

Názor k článku Tiny Tiny RSS: náhradní Google Reader na vašem serveru od anonym - Ja jsem tiny v gentoo nenasel, takze jsem...

  • Článek je starý, nové názory již nelze přidávat.
  • 25. 3. 2013 10:42

    bez přezdívky

    Ja jsem tiny v gentoo nenasel, takze jsem si poresil init script takhle

    #!/sbin/runscript
    # Copyright 1999-2013 Gentoo Foundation
    # Distributed under the terms of the GNU General Public License v2
    # $Header: $

    depend() {
    provide rss-update
    }

    start() {
    ebegin "Starting ${SVCNAME}"
    start-stop-daemon --start --quiet \
    --pidfile /var/run/${SV­CNAME}.pid -u <user> --exec /var/www/<addr>/rss-update
    eend $?
    }

    stop() {
    ebegin "Stopping ${SVCNAME}"
    start-stop-daemon --stop --quiet \
    --pidfile /var/run/${SV­CNAME}.pid --exec /var/www/<addr>/rss-update
    local ret=$?
    rm -f "/var/run/${S­VCNAME}.pid"
    eend ${ret}
    }

    a v rrs-updte uz jen

    #!/bin/sh
    /usr/bin/php /var/www/<addr>/pu­blic_html/upda­te.php -daemon

    a musim rict ze jsem velice spokojen;)