service: prefix description with LSB only if script has LSB header, use 'SysV:' otherwise
This commit is contained in:
parent
21256a2b3b
commit
85211309f0
6
TODO
6
TODO
|
@ -16,9 +16,9 @@ F15:
|
||||||
|
|
||||||
* mount /dev/.run and /var/run as bind mounts
|
* mount /dev/.run and /var/run as bind mounts
|
||||||
|
|
||||||
* Make use of UnknownInterface, UnknownObject
|
* Make use of UnknownInterface
|
||||||
|
|
||||||
* verify SYSTEMD_IGNORE_DEPENDENCIES support in /etc/rc.d/functions
|
* support chkconfig without forwarding to systemctl to facilitate upgrades
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
|
@ -26,8 +26,6 @@ Features:
|
||||||
|
|
||||||
* consider services with any kind of link in /etc/systemd/system enabled
|
* consider services with any kind of link in /etc/systemd/system enabled
|
||||||
|
|
||||||
* introduce "x-systemd-automount" as alternative to the "comment=systemd.automount" mount option
|
|
||||||
|
|
||||||
* show failure error string in "systemctl status"
|
* show failure error string in "systemctl status"
|
||||||
|
|
||||||
* make sure timeouts are applied to Type=oneshot services.
|
* make sure timeouts are applied to Type=oneshot services.
|
||||||
|
|
|
@ -835,7 +835,7 @@ static int service_load_sysv_path(Service *s, const char *path) {
|
||||||
if (description) {
|
if (description) {
|
||||||
char *d;
|
char *d;
|
||||||
|
|
||||||
if (!(d = strappend("LSB: ", description))) {
|
if (!(d = strappend(s->sysv_has_lsb ? "LSB: " : "SysV: ", description))) {
|
||||||
r = -ENOMEM;
|
r = -ENOMEM;
|
||||||
goto finish;
|
goto finish;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue