mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
5b7a22e5b0
snac init now prompts for an optional admin email address.
8 lines
216 B
Bash
Executable File
8 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
|