mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-25 00:43:38 +00:00
7 lines
212 B
Bash
Executable file
7 lines
212 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" | snac init /data/data
|
|
snac adduser /data/data testuser
|
|
fi
|
|
SSLKEYLOGFILE=/data/key snac httpd /data/data
|