Browse Source

update-rc.d: Consider /usr/lib/systemd/system when searching for unit files

tags/devuan/1.58+devuan1
Michael Biebl 1 year ago
parent
commit
552e993488
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      script/update-rc.d

+ 2
- 0
script/update-rc.d View File

@@ -153,6 +153,8 @@ sub make_systemd_links {
$service_path = "/etc/systemd/system/$scriptname.service";
} elsif (-f "/lib/systemd/system/$scriptname.service") {
$service_path = "/lib/systemd/system/$scriptname.service";
} elsif (-f "/usr/lib/systemd/system/$scriptname.service") {
$service_path = "/usr/lib/systemd/system/$scriptname.service";
}
if (defined($service_path)) {
my $changed_sth;


Loading…
Cancel
Save