11 lines
204 B
Bash
Executable File
11 lines
204 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# TODO read 'version' arg from request and make sure it
|
|
# matches the version of this script
|
|
|
|
status=`cat /tmp/restic/snapshot_status_$HOOK_request_id`
|
|
|
|
echo "{\"status\":\"$status\"}"
|