rename borgbackup telegraf jobs

This commit is contained in:
zowoq 2023-08-13 16:17:15 +10:00
parent 718d18826e
commit 0764cd9792
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@
'';
postHook = ''
cat > /var/log/telegraf/borgbackup-nixpkgs-update <<EOF
cat > /var/log/telegraf/borgbackup-job-nixpkgs-update.service <<EOF
task,frequency=daily last_run=$(date +%s)i,state="$([[ $exitStatus == 0 ]] && echo ok || echo fail)"
EOF
'';

View file

@ -44,7 +44,7 @@
'';
postHook = ''
cat > /var/log/telegraf/borgbackup-github-org <<EOF
cat > /var/log/telegraf/borgbackup-job-github-org.service <<EOF
task,frequency=daily last_run=$(date +%s)i,state="$([[ $exitStatus == 0 ]] && echo ok || echo fail)"
EOF
'';