summaryrefslogtreecommitdiff
path: root/dh_systemd_start
diff options
context:
space:
mode:
Diffstat (limited to 'dh_systemd_start')
-rwxr-xr-xdh_systemd_start2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_systemd_start b/dh_systemd_start
index 740a3117..5c0297c3 100755
--- a/dh_systemd_start
+++ b/dh_systemd_start
@@ -223,7 +223,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my $sd_autoscript = sub {
my ($script, $filename) = @_;
my $unitargs = join(" ", sort map { basename($_) } @units);
- autoscript($package, $script, $filename, "s/#UNITFILES#/$unitargs/");
+ autoscript($package, $script, $filename, { 'UNITFILES' => $unitargs });
};
if ($dh{RESTART_AFTER_UPGRADE}) {