mirror of
https://github.com/restic/rest-server.git
synced 2026-09-27 22:41:23 -07:00
add docker image
This commit is contained in:
committed by
Zlatko Čalušić
parent
6b821132ec
commit
07b6d5facf
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "create_user [username]"
|
||||
echo "or"
|
||||
echo "create_user [username] [password]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
htpasswd -s $PASSWORD_FILE $1 $2
|
||||
Reference in New Issue
Block a user