Update DEBIAN/postinst
Deploy Package / Explore-Gitea-Actions (push) Successful in 28s Details

This commit is contained in:
Carneiro 2024-09-11 14:20:18 -03:00
parent fdc357b07e
commit 7ee6c5c055
1 changed files with 1 additions and 1 deletions

View File

@ -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