[x86] hyperv-daemons: Create pid files under /run, not /var/run

This commit is contained in:
Ben Hutchings 2017-09-30 12:53:38 +01:00
parent fe5c3cbe60
commit 6d1b6b2dc8
4 changed files with 4 additions and 3 deletions

1
debian/changelog vendored
View File

@ -20,6 +20,7 @@ linux (4.13.4-1~exp1) UNRELEASED; urgency=medium
* [x86] hyperv-daemons: Use pid file name in init script status operation
* Update policy version to 4.1.1:
- linux-doc: Build an empty package when the nodoc profile is used
- [x86] hyperv-daemons: Create pid files under /run, not /var/run
[ Uwe Kleine-König ]
* [arm64] really enable NET_DSA_MV88E6XXX for Espressobin

View File

@ -12,7 +12,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Hyper-V file copy service (FCOPY) daemon"
NAME=hv_fcopy_daemon
DAEMON=/usr/sbin/$NAME
PIDFILE=/var/run/$NAME.pid
PIDFILE=/run/$NAME.pid
SCRIPTNAME=/etc/init.d/hyperv-daemons.hv-fcopy-daemon
# Exit if the package is not installed

View File

@ -12,7 +12,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Hyper-V key-value pair (KVP) daemon"
NAME=hv_kvp_daemon
DAEMON=/usr/sbin/$NAME
PIDFILE=/var/run/$NAME.pid
PIDFILE=/run/$NAME.pid
SCRIPTNAME=/etc/init.d/hyperv-daemons.hv-kvp-daemon
# Exit if the package is not installed

View File

@ -12,7 +12,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Hyper-V volume shadow copy service (VSS) daemon"
NAME=hv_vss_daemon
DAEMON=/usr/sbin/$NAME
PIDFILE=/var/run/$NAME.pid
PIDFILE=/run/$NAME.pid
SCRIPTNAME=/etc/init.d/hyperv-daemons.hv-vss-daemon
# Exit if the package is not installed