The value is an array reference with a list of unit names.

Signed-off-by: Fiona Ebner <[email protected]>
---
 src/PVE/Systemd.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/Systemd.pm b/src/PVE/Systemd.pm
index 8fc06a5..6ff0dc8 100644
--- a/src/PVE/Systemd.pm
+++ b/src/PVE/Systemd.pm
@@ -113,7 +113,7 @@ sub enter_systemd_scope {
     my $properties = [[PIDs => [dbus_uint32($$)]]];
 
     foreach my $key (keys %extra) {
-        if ($key eq 'Slice' || $key eq 'KillMode') {
+        if ($key eq 'Slice' || $key eq 'KillMode' || $key eq 'After' || $key 
eq 'Before') {
             push @{$properties}, [$key, $extra{$key}];
         } elsif ($key eq 'SendSIGKILL') {
             push @{$properties}, [$key, dbus_boolean($extra{$key})];
-- 
2.47.3



_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to