From 685c3e2daaf0971e937d138e2efdbfaafa6f9ab4 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Fri, 16 Jun 2023 13:50:55 +0200 Subject: [PATCH] chore: renamed dependency exec-notify --- Makefile | 4 ++-- cron.d/netcup-dns | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index bdfd0c0..67e261d 100644 --- a/Makefile +++ b/Makefile @@ -19,10 +19,10 @@ nc-dnsapi: requests: pip list | cut -f 1 -d ' ' | grep '^requests$$' || sudo pacman -S --needed python-requests -.PHONY: notify ## Check if execNotify is installed. +.PHONY: notify ## Check if exec-notify is installed. notify: # `type` does not work e.g. on Ubuntu 18.04 - which de-p1st-execNotify + which exec-notify .PHONY: cron ## Check if cron (e.g. cronie) is running. cron: diff --git a/cron.d/netcup-dns b/cron.d/netcup-dns index 8fa46f7..7971b45 100644 --- a/cron.d/netcup-dns +++ b/cron.d/netcup-dns @@ -4,8 +4,8 @@ # - https://unix.stackexchange.com/questions/458713/how-are-files-under-etc-cron-d-used#comment1019389_458715 # Some users report that files in `/etc/cron.d/` containing `-` are not executed # - https://unix.stackexchange.com/questions/296347/crontab-never-running-while-in-etc-cron-d#comment640748_296351 -# PATH is restricted to `/bin:/usr/bin` but `de-p1st-execNotify` resides in `/usr/local/bin/` +# PATH is restricted to `/bin:/usr/bin` but `exec-notify` resides in `/usr/local/bin/` # - https://serverfault.com/a/449652 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin/ -*/3 * * * * root de-p1st-execNotify netcup-dns > /var/log/netcup-dns.cron 2>&1 +*/3 * * * * root exec-notify netcup-dns > /var/log/netcup-dns.cron 2>&1