projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fb8672
)
service: don't necessarily add ordering links for non-sysv services
author
Lennart Poettering
<lennart@poettering.net>
Sat, 10 Apr 2010 03:05:05 +0000
(
05:05
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sat, 10 Apr 2010 16:00:21 +0000
(18:00 +0200)
service.c
patch
|
blob
|
history
diff --git
a/service.c
b/service.c
index
c914eca
..
e5a9658
100644
(file)
--- a/
service.c
+++ b/
service.c
@@
-157,7
+157,10
@@
static int sysv_chkconfig_order(Service *s) {
if (t->sysv_start_priority < 0)
continue;
- if (s->sysv_has_lsb && t->sysv_has_lsb)
+ /* If both units have modern headers we don't care
+ * about the priorities */
+ if ((!s->sysv_path || s->sysv_has_lsb) &&
+ (!t->sysv_path || t->sysv_has_lsb))
continue;
if (t->sysv_start_priority < s->sysv_start_priority)