diff --git a/DEBIAN/postinst b/DEBIAN/postinst index ba258dc..f58afd0 100755 --- a/DEBIAN/postinst +++ b/DEBIAN/postinst @@ -5,6 +5,6 @@ set -e interface=$(ip -o -4 route show to default | awk '{print $5}') # Install and start the systemd service -if ! systemctl enable --now wol@$interface.service; then +if ! systemctl enable wol@${interface}.service; then echo "Warning: Failed to start your-service.service" >&2 fi \ No newline at end of file