change sysd state file to work with user services
authorIan Kelling <ian@iankelling.org>
Thu, 30 Mar 2017 23:32:03 +0000 (16:32 -0700)
committerIan Kelling <ian@iankelling.org>
Thu, 30 Mar 2017 23:32:03 +0000 (16:32 -0700)
sysd-mail-once

index e4305aec3ce621764cf517f9d311c179106bc79b..6e6807686a43c3e7f78a6c93b556533da9e8c02a 100755 (executable)
@@ -18,7 +18,7 @@ set -eE -o pipefail
 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
 
 errors=3
-cbase=/var/local/cron-errors
+cbase=$HOME/sysd-mail-once-state
 case "$1" in
     -h|--help)
         cat <<EOF