Skip to content

Commit

Permalink
Switch from /var/run to /run
Browse files Browse the repository at this point in the history
The transition to /run was a release goal of wheezy (see
https://wiki.debian.org/ReleaseGoals/RunDirectory), so
this is more than overdue :)
  • Loading branch information
mika committed Jul 18, 2020
1 parent eac090b commit 39ada23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nfs-kernel-server
Expand Up @@ -69,7 +69,7 @@ case "$1" in
then
printf " svcgssd"
start-stop-daemon --start --quiet \
--make-pidfile --pidfile /var/run/rpc.svcgssd.pid \
--make-pidfile --pidfile /run/rpc.svcgssd.pid \
--exec $PREFIX/sbin/rpc.svcgssd -- $RPCSVCGSSDOPTS
fi

Expand Down Expand Up @@ -119,7 +119,7 @@ case "$1" in
printf " svcgssd"
start-stop-daemon --stop --oknodo --quiet \
--name rpc.svcgssd --user 0
rm -f /var/run/rpc.svcgssd.pid
rm -f /run/rpc.svcgssd.pid
fi
printf " nfsd"
start-stop-daemon --stop --oknodo --quiet \
Expand Down
4 changes: 2 additions & 2 deletions shared_prog_vars
Expand Up @@ -43,12 +43,12 @@ CONFIG_PROG_="/usr/sbin/grml-terminalserver-config"
# vars for dhcpd
DHCPD_BIN_="/usr/sbin/dhcpd"
DHCPD_CONFIG_FILE_="$PATH_/dhcpd.conf"
DHCPD_PID_="/var/run/dhcpd.pid"
DHCPD_PID_="/run/dhcpd.pid"

# vars for tftpd
TFTPD_BIN_="/usr/sbin/atftpd"
TFTPD_DATA_DIR_="/var/lib/tftpboot"
TFTPD_PID_="/var/run/grml-tftpd.pid"
TFTPD_PID_="/run/grml-tftpd.pid"


###
Expand Down

0 comments on commit 39ada23

Please sign in to comment.