]> git.pld-linux.org Git - packages/xen.git/blame - xen-systemd.patch
- patch upstream systemd services to match PLD ones
[packages/xen.git] / xen-systemd.patch
CommitLineData
899e28ce
JR
1--- xen-4.6.1/tools/hotplug/Linux/systemd/xenconsoled.service.in.orig 2016-04-10 22:41:41.095161609 +0900
2+++ xen-4.6.1/tools/hotplug/Linux/systemd/xenconsoled.service.in 2016-04-10 22:42:13.745756123 +0900
3@@ -7,13 +7,13 @@
4 [Service]
5 Type=simple
6 Environment=XENCONSOLED_ARGS=
7-Environment=XENCONSOLED_TRACE=none
8+Environment=XENCONSOLED_LOG=none
9 Environment=XENCONSOLED_LOG_DIR=@XEN_LOG_DIR@/console
10-EnvironmentFile=@CONFIG_DIR@/@CONFIG_LEAF_DIR@/xencommons
11+EnvironmentFile=-@CONFIG_DIR@/@CONFIG_LEAF_DIR@/xenconsoled
12 PIDFile=@XEN_RUN_DIR@/xenconsoled.pid
13 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities
14 ExecStartPre=/bin/mkdir -p ${XENCONSOLED_LOG_DIR}
15-ExecStart=@sbindir@/xenconsoled --pid-file @XEN_RUN_DIR@/xenconsoled.pid --log=${XENCONSOLED_TRACE} --log-dir=${XENCONSOLED_LOG_DIR} $XENCONSOLED_ARGS
16+ExecStart=@sbindir@/xenconsoled --pid-file @XEN_RUN_DIR@/xenconsoled.pid --log=${XENCONSOLED_LOG} --log-dir=${XENCONSOLED_LOG_DIR} $XENCONSOLED_ARGS
17
18 [Install]
19 WantedBy=multi-user.target
20--- xen-4.6.1/tools/hotplug/Linux/systemd/xenstored.service.in.orig 2016-04-10 22:43:44.334072370 +0900
21+++ xen-4.6.1/tools/hotplug/Linux/systemd/xenstored.service.in 2016-04-10 22:44:19.164706660 +0900
22@@ -11,7 +11,7 @@
23 KillMode=none
24 Environment=XENSTORED_ARGS=
25 Environment=XENSTORED=@XENSTORED@
26-EnvironmentFile=-@CONFIG_DIR@/@CONFIG_LEAF_DIR@/xencommons
27+EnvironmentFile=-@CONFIG_DIR@/@CONFIG_LEAF_DIR@/xenstored
28 ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities
29 ExecStartPre=-/bin/rm -f @XEN_LIB_STORED@/tdb*
30 ExecStartPre=/bin/mkdir -p @XEN_RUN_DIR@
This page took 0.047624 seconds and 4 git commands to generate.