mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
service: allow enabling of native services via /etc/rcXX.d, so that we can override legacy services easily
This commit is contained in:
parent
81a2b7ceda
commit
1d2d223c26
@ -1658,11 +1658,6 @@ static int service_enumerate(Manager *m) {
|
||||
if ((r = manager_load_unit(m, name, &service)) < 0)
|
||||
goto finish;
|
||||
|
||||
/* Don't allow that non-SysV services
|
||||
* are started via rcN.d/ links. */
|
||||
if (!SERVICE(service)->sysv_path)
|
||||
continue;
|
||||
|
||||
if ((r = manager_load_unit(m, rcnd[i+1], &runlevel)) < 0)
|
||||
goto finish;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user