1
0
Fork 0
mirror of https://gitlab.com/niansa/simpsh-httpd.git synced 2025-03-06 20:53:36 +01:00

Update mkpackage.sh

This commit is contained in:
niansa 2017-12-26 11:43:15 +01:00 committed by GitHub
parent 828a4f5afe
commit 1f83ec6976
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,8 @@ cp -r "$1" usr/share/simpsh-httpd
echo 'cd /usr/share/simpsh-httpd
./main.sh' > usr/bin/simpsh-httpd
echo 'cd /usr/share/simpsh-httpd/
./start-socat.sh $@' > usr/bin/simpsh-httpd-socat
./start-socat.sh $@
echo $$ > /run/lock/simpsh-httpd.lock' > usr/bin/simpsh-httpd-socat
mv usr/share/simpsh-httpd/simpsh-httpd.service etc/init.d/simpsh-httpd.sh
mv usr/share/simpsh-httpd/config.sh etc/simpsh-httpd
ln -sf /etc/simpsh-httpd/config.sh usr/share/simpsh-httpd/config.sh