Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37811332
en ru br
Репозитории ALT
S:4.8.0-alt1
5.1: 2.9.21.2-alt5.1
4.1: 2.9.21-alt1
4.0: 2.9.20-alt3
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: pdns

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: pdns-2.9.7-init.patch
Скачать


--- pdns/pdns.in	2002-12-09 17:01:35.000000000 +0100
+++ pdns/pdns.in.oden	2003-03-26 19:24:47.000000000 +0100
@@ -1,6 +1,27 @@
 #!/bin/sh
-# chkconfig: - 80 75
-# description: PDNS is a versatile high performance authoritative nameserver
+#
+# powerdns This shell script takes care of starting and stopping powerdns.
+#
+# chkconfig: 345 80 75
+# description: PowerDNS is a versatile high performance \
+# authoritative nameserver
+# probe: true
+# processname: powerdns
+# pidfile: /var/run/powerdns/powerdns.pid
+# config: /etc/powerdns/pdns.conf
+
+# Source function library.
+. /etc/rc.d/init.d/functions
+
+# Source networking configuration.
+. /etc/sysconfig/network
+
+# Check that networking is up.
+[ "${NETWORKING}" = "no" ] && exit 0
+
+[ -f /etc/powerdns/pdns.conf ] || exit 0
+
+[ -f /usr/sbin/pdns_server ] || exit 0
 
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin