diff options
Diffstat (limited to 'system/services/taskserver/certs/check_expire')
-rwxr-xr-x | system/services/taskserver/certs/check_expire | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/system/services/taskserver/certs/check_expire b/system/services/taskserver/certs/check_expire index 89969cc..39f3291 100755 --- a/system/services/taskserver/certs/check_expire +++ b/system/services/taskserver/certs/check_expire @@ -1,4 +1,10 @@ -#!/bin/sh +#!/usr/bin/env nix +#! nix shell nixpkgs#openssl nixpkgs#dash --command dash + +cd "$(dirname "$0")" || { + echo "No dir name?!" + exit 1 +} for cert in *.cert.pem; do echo "$cert" |