Kaynağa Gözat

s-s-d(8): Switch examples from /var/run to /run

Guillem Jover 14 yıl önce
ebeveyn
işleme
4f2bf1ec7f
2 değiştirilmiş dosya ile 5 ekleme ve 4 silme
  1. 1 0
      debian/changelog
  2. 4 4
      man/start-stop-daemon.8

+ 1 - 0
debian/changelog

@@ -27,6 +27,7 @@ dpkg (1.16.4) UNRELEASED; urgency=low
   * Check all parsed integers for out of range errors; i.e. that no negative
     values are allowed if not appropriate, and that no overflows occur.
     Closes: #580038
+  * Switch start-stop-daemon(8) man page examples from /var/run to /run.
 
   [ Updated man page translations ]
   * German (Helge Kreutzmann).

+ 4 - 4
man/start-stop-daemon.8

@@ -20,7 +20,7 @@
 .\" You should have received a copy of the GNU General Public License
 .\" along with this program.  If not, see <http://www.gnu.org/licenses/>.
 .
-.TH start\-stop\-daemon 8 "2012-01-14" "Debian Project" "dpkg utilities"
+.TH start\-stop\-daemon 8 "2012-05-17" "Debian Project" "dpkg utilities"
 .SH NAME
 start\-stop\-daemon \- start and stop system daemon programs
 .
@@ -331,7 +331,7 @@ food, running as user food, with pid in food.pid):
 .IP
 .nf
 start\-stop\-daemon \-\-start \-\-oknodo \-\-user food \-\-name food \\
-	\-\-pidfile /var/run/food.pid \-\-startas /usr/sbin/food \\
+	\-\-pidfile /run/food.pid \-\-startas /usr/sbin/food \\
 	\-\-chuid food \-\- \-\-daemon
 .fi
 .PP
@@ -339,12 +339,12 @@ Send \fBSIGTERM\fP to \fBfood\fP and wait up to 5 seconds for it to stop:
 .IP
 .nf
 start\-stop\-daemon \-\-stop \-\-oknodo \-\-user food \-\-name food \\
-	\-\-pidfile /var/run/food.pid \-\-retry 5
+	\-\-pidfile /run/food.pid \-\-retry 5
 .fi
 .PP
 Demonstration of a custom schedule for stopping \fBfood\fP:
 .IP
 .nf
 start\-stop\-daemon \-\-stop \-\-oknodo \-\-user food \-\-name food \\
-	\-\-pidfile /var/run/food.pid \-\-retry=TERM/30/KILL/5
+	\-\-pidfile /run/food.pid \-\-retry=TERM/30/KILL/5
 .fi