This commit is contained in:
mwiegand 2022-02-12 18:26:13 +01:00
parent 6727fcf404
commit e406db30f9

View file

@ -18,7 +18,7 @@ def wake_command(metadata):
@metadata_reactor.provides( @metadata_reactor.provides(
'apt/packages/ethtool', 'apt/packages/ethtool',
'systemd/units/enable-wol', 'systemd/units/enable-wol.service',
'systemd/services/enable-wol.service', 'systemd/services/enable-wol.service',
) )
def systemd(metadata): def systemd(metadata):
@ -41,9 +41,6 @@ def systemd(metadata):
'RemainAfterExit': 'yes', 'RemainAfterExit': 'yes',
'ExecStart': f'ethtool -s {interface} wol g', 'ExecStart': f'ethtool -s {interface} wol g',
}, },
'Install': {
'WantedBy': 'multi-user.target',
},
}, },
}, },
'services': { 'services': {