rename timer
This commit is contained in:
parent
6c0193520d
commit
ac919278aa
1 changed files with 4 additions and 4 deletions
|
@ -59,8 +59,8 @@ def wake_command(metadata):
|
||||||
|
|
||||||
|
|
||||||
@metadata_reactor.provides(
|
@metadata_reactor.provides(
|
||||||
'systemd/units/enable-wol.service',
|
'systemd/units/wakeonline-setup.service',
|
||||||
'systemd/services/enable-wol.service',
|
'systemd/services/wakeonline-setup.service',
|
||||||
)
|
)
|
||||||
def systemd(metadata):
|
def systemd(metadata):
|
||||||
interface = metadata.get(f"network/{metadata.get('wol-sleeper/network')}/interface")
|
interface = metadata.get(f"network/{metadata.get('wol-sleeper/network')}/interface")
|
||||||
|
@ -68,7 +68,7 @@ def systemd(metadata):
|
||||||
return {
|
return {
|
||||||
'systemd': {
|
'systemd': {
|
||||||
'units': {
|
'units': {
|
||||||
'enable-wol.service': {
|
'wakeonline-setup.service': {
|
||||||
'Unit': {
|
'Unit': {
|
||||||
'After': 'network.target',
|
'After': 'network.target',
|
||||||
},
|
},
|
||||||
|
@ -80,7 +80,7 @@ def systemd(metadata):
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'services': {
|
'services': {
|
||||||
'enable-wol.service': {},
|
'wakeonline-setup.service': {},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue