mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 22:45:05 +00:00
5b7a22e5b0
snac init now prompts for an optional admin email address.
7 lines
216 B
Bash
Executable file
7 lines
216 B
Bash
Executable file
#! /bin/sh
|
|
if [ ! -e /data/data/server.json ]
|
|
then
|
|
echo -ne "0.0.0.0\r\n8001\r\nlocalhost\r\n\r\n\r\n" | snac init /data/data
|
|
snac adduser /data/data testuser
|
|
fi
|
|
SSLKEYLOGFILE=/data/key snac httpd /data/data
|