Explorar o código

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 %!s(int64=5) %!d(string=hai) anos
pai
achega
296eb91192
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 NAME=pdb_server
 DESC=pdb_server
-PIDFILE=/var/run/pdb_server.pid
+PIDFILE=/run/pdb_server.pid
 
 test -x $DAEMON || exit 0