ALT Linux Bugzilla
– Attachment 4700 Details for
Bug 24731
Обновлённый spec для версии 0.5.12
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
init скрипт (patch1)
acng-init.patch (text/plain), 1.10 KB, created by
Vadim Druzhin
on 2010-12-09 23:09:07 MSK
(
hide
)
Description:
init скрипт (patch1)
Filename:
MIME Type:
Creator:
Vadim Druzhin
Created:
2010-12-09 23:09:07 MSK
Size:
1.10 KB
patch
obsolete
>diff -urN apt-cacher-ng-0.5.12.orig/acng.init apt-cacher-ng-0.5.12/acng.init >--- apt-cacher-ng-0.5.12.orig/acng.init 1970-01-01 03:00:00 +0300 >+++ apt-cacher-ng-0.5.12/acng.init 2010-12-09 22:05:53 +0300 >@@ -0,0 +1,63 @@ >+#!/bin/sh >+# >+# Start/stop apt-cacher-ng >+# >+# chkconfig: 345 99 01 >+# description: APT caching HTTP proxy (apt-cacher-ng) >+# >+ >+# Source function library. >+. /etc/rc.d/init.d/functions >+ >+PROG=apt-cacher-ng >+ARGS="-c /etc/apt-cacher-ng" >+LOCKFILE=/var/lock/subsys/acng >+RETVAL=0 >+ >+start() >+{ >+ start_daemon --lockfile "$LOCKFILE" $PROG $ARGS >+ RETVAL=$? >+ return $RETVAL >+} >+ >+stop() >+{ >+ stop_daemon --lockfile "$LOCKFILE" $PROG >+ RETVAL=$? >+ return $RETVAL >+} >+ >+restart() >+{ >+ stop >+ start >+} >+ >+case "$1" in >+ start) >+ start >+ ;; >+ stop) >+ stop >+ ;; >+ reload|restart) >+ restart >+ ;; >+ condstop) >+ if [ -e "$LOCKFILE" ]; then >+ stop >+ fi >+ ;; >+ condrestart) >+ ;; >+ status) >+ status --lockfile "$LOCKFILE" $PROG >+ ;; >+ *) >+ msg_usage "Usage: ${0##*/} {start|stop|reload|restart|condstop|condrestart|status}" >+ RETVAL=1 >+ ;; >+esac >+ >+exit $RETVAL
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 24731
:
4699
| 4700 |
4701