features
This commit is contained in:
10
setup.sh
10
setup.sh
@@ -10,6 +10,16 @@ openssl x509 -req -days 365 -in certs/mycert.csr -signkey certs/mycert.key -out
|
|||||||
|
|
||||||
LOCATION="$(pwd)"
|
LOCATION="$(pwd)"
|
||||||
|
|
||||||
|
cat << EOF > $LOCATION/app/.env
|
||||||
|
# Environment variables
|
||||||
|
WOL_SECRET_KEY="changethis"
|
||||||
|
WOL_USER_PASS="changethat"
|
||||||
|
REDIS_URL="redis://localhost:6379/0"
|
||||||
|
DEVICE_MAC="00:00:00:00:00:00"
|
||||||
|
DEVICE_IP="192.168.0.0"
|
||||||
|
DEVICE_IFACE="eth0"
|
||||||
|
EOF
|
||||||
|
|
||||||
cat << EOF > /etc/systemd/system/wolServer.service
|
cat << EOF > /etc/systemd/system/wolServer.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=wol-server
|
Description=wol-server
|
||||||
|
|||||||
Reference in New Issue
Block a user