rename timer

This commit is contained in:
cronekorkn 2022-09-24 13:37:13 +02:00
parent 6c0193520d
commit ac919278aa
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -59,8 +59,8 @@ def wake_command(metadata):
@metadata_reactor.provides(
'systemd/units/enable-wol.service',
'systemd/services/enable-wol.service',
'systemd/units/wakeonline-setup.service',
'systemd/services/wakeonline-setup.service',
)
def systemd(metadata):
interface = metadata.get(f"network/{metadata.get('wol-sleeper/network')}/interface")
@ -68,7 +68,7 @@ def systemd(metadata):
return {
'systemd': {
'units': {
'enable-wol.service': {
'wakeonline-setup.service': {
'Unit': {
'After': 'network.target',
},
@ -80,7 +80,7 @@ def systemd(metadata):
},
},
'services': {
'enable-wol.service': {},
'wakeonline-setup.service': {},
},
},
}