]>
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 | |
5 | ||
6 | [Service] | |
7 | Type=simple | |
8 | Environment=XENCONSOLED_ARGS= | |
9 | Environment=XENCONSOLED_LOG=none | |
10 | Environment=XENCONSOLED_LOG_DIR=/var/log/xen/console | |
11 | EnvironmentFile=-/etc/sysconfig/xenconsoled | |
12 | PIDFile=/var/run/xenconsoled.pid | |
13 | ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities | |
14 | ExecStart=/usr/sbin/xenconsoled --log=${XENCONSOLED_LOG} --log-dir=${XENCONSOLED_LOG_DIR} $XENCONSOLED_ARGS | |
15 | ||
16 | [Install] | |
17 | WantedBy=multi-user.target |