From 721427ebf595d8383198db60de283630c9ff001f Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Fri, 20 Mar 2015 12:12:52 +0100 Subject: [PATCH] last fixes for Andrea's live image --- .../liveusb/etc/systemd/system/mongoose.service | 15 +++++++++++++++ contrib/liveusb/setup.sh | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 contrib/liveusb/etc/systemd/system/mongoose.service diff --git a/contrib/liveusb/etc/systemd/system/mongoose.service b/contrib/liveusb/etc/systemd/system/mongoose.service new file mode 100644 index 000000000..2ff7070d7 --- /dev/null +++ b/contrib/liveusb/etc/systemd/system/mongoose.service @@ -0,0 +1,15 @@ +[Unit] +Description=The mongoose Web server +After=network.target + +[Service] +Type=simple +User=nobody +Group=nobody +Restart=always +ExecStart=/usr/bin/mongoose -p 80 -r /var/www/ +StandardOutput=syslog +SyslogIdentifier=mongoose + +[Install] +WantedBy=multi-user.target diff --git a/contrib/liveusb/setup.sh b/contrib/liveusb/setup.sh index 29bbff726..cb42fa00a 100755 --- a/contrib/liveusb/setup.sh +++ b/contrib/liveusb/setup.sh @@ -23,7 +23,7 @@ ssh -f -N -R $PORT:localhost:22 $USER@$SERVER sendmail "$RECIPIENTS" < -To: $(RECIPIENTS) +To: $RECIPIENTS There's a new host with the S2SS LiveUSB Image running: