Bug#801822: Patch to fix

Jakobus Schürz jakob at xundeenergie.at
Sat Feb 25 03:35:58 GMT 2017


Hi there!

I tried this

--- /usr/bin/deb-systemd-helper	2017-02-25 03:56:20.844471315 +0100
+++ /usr/bin/deb-systemd-helper-instantunits	2017-02-25
04:27:56.794876790 +0100
@@ -118,6 +118,7 @@
     my ($scriptname) = @_;

     my $service_path = $scriptname;
+    $scriptname =~ s/\@.*\.([a-z]*)$/@.\1/;
     if (-f "/etc/systemd/system/$scriptname") {
         $service_path = "/etc/systemd/system/$scriptname";
     } elsif (-f "/lib/systemd/system/$scriptname") {


and now i can work with instantiated unit-files.

Regards!

Jakob

-- 
Jakobus Schürz
Roseggergasse 37/21
1160 Wien

+43/699/107 66 126

http://xundeenergie.at
http://cogitationum.wordpress.com/
http://verkehrsloesungen.wordpress.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x43B88572.asc
Type: application/pgp-keys
Size: 4029 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170225/b46eaf3b/attachment-0002.key>


More information about the Pkg-systemd-maintainers mailing list