From ac919278aa521f872290d9ec0e017b0825dbe3e4 Mon Sep 17 00:00:00 2001 From: cronekorkn Date: Sat, 24 Sep 2022 13:37:13 +0200 Subject: [PATCH] rename timer --- bundles/wol-sleeper/metadata.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bundles/wol-sleeper/metadata.py b/bundles/wol-sleeper/metadata.py index 9dedbcd..fdb663b 100644 --- a/bundles/wol-sleeper/metadata.py +++ b/bundles/wol-sleeper/metadata.py @@ -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': {}, }, }, }