]>
Commit | Line | Data |
---|---|---|
2e8b91a6 JR |
1 | [Unit] |
2 | Description=Xenconsoled - handles logging from guest consoles and hypervisor | |
3 | Requires=proc-xen.mount | |
4 | After=proc-xen.mount xenstored.service | |
8849482e | 5 | ConditionPathExists=/proc/xen |
2e8b91a6 JR |
6 | |
7 | [Service] | |
8 | Type=simple | |
9 | Environment=XENCONSOLED_ARGS= | |
10 | Environment=XENCONSOLED_LOG=none | |
11 | Environment=XENCONSOLED_LOG_DIR=/var/log/xen/console | |
12 | EnvironmentFile=-/etc/sysconfig/xenconsoled | |
13 | PIDFile=/var/run/xenconsoled.pid | |
14 | ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities | |
15 | ExecStart=/usr/sbin/xenconsoled --log=${XENCONSOLED_LOG} --log-dir=${XENCONSOLED_LOG_DIR} $XENCONSOLED_ARGS | |
16 | ||
17 | [Install] | |
18 | WantedBy=multi-user.target |