Selaa lähdekoodia

utils/pdbt: switch from deprecated /var/run to /run

  The FHS 3.0 [F] has deprecated /var/run in favor of /run. Current
  distributions have done so for a long time (for example in Debian
  since 6.0 “squeeze”), even though they provide a compatibility
  symlink from /var/run to /run. But software like systemd have
  started emitting warnings when using /var/run, for example for
  its PIDFile directive, which pollutes the logs.
Guillem Jover 5 vuotta sitten
vanhempi
commit
296eb91192
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      utils/pdbt/debian/pdb-server.init.d

+ 1 - 1
utils/pdbt/debian/pdb-server.init.d

@@ -4,7 +4,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/usr/bin/pdb_server
 DAEMON=/usr/bin/pdb_server
 NAME=pdb_server
 NAME=pdb_server
 DESC=pdb_server
 DESC=pdb_server
-PIDFILE=/var/run/pdb_server.pid
+PIDFILE=/run/pdb_server.pid
 
 
 test -x $DAEMON || exit 0
 test -x $DAEMON || exit 0