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/

Attachment: 0x43B88572.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to