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:
parent
828a4f5afe
commit
1f83ec6976
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue