]>
Commit | Line | Data |
---|---|---|
2e8b91a6 JR |
1 | [Unit] |
2 | Description=blktapctrl daemon | |
3 | Requires=proc-xen.mount | |
4 | After=proc-xen.mount | |
5 | RefuseManualStop=true | |
8849482e | 6 | ConditionPathExists=/proc/xen |
2e8b91a6 JR |
7 | |
8 | [Service] | |
9 | Type=forking | |
10 | Environment=BLKTAPCTRL_ARGS= | |
11 | EnvironmentFile=-/etc/sysconfig/blktapctrl | |
12 | ExecStartPre=/bin/grep -q control_d /proc/xen/capabilities | |
13 | ExecStart=/usr/sbin/blktapctrl $BLKTAPCTRL_ARGS | |
14 | ||
15 | [Install] | |
16 | WantedBy=multi-user.target |