1 Star 0 Fork 334

dolfly / seafile

forked from lins05 / seafile 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
seafile-web.in 426 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
prefix=@prefix@
pkgdatadir=${prefix}/share/seafile
export PYTHONPATH=@pythondir@:$PYTHONPATH
if [ $1 == "start" ]; then
if [ -f /tmp/seafile-web.pid ]; then
kill -9 `cat /tmp/seafile-web.pid`
fi
cd ${pkgdatadir}/web
@PYTHON@ main.py 127.0.0.1:13420 &
echo $! > /tmp/seafile-web.pid
elif [ $1 == "stop" ]; then
kill -9 `cat /tmp/seafile-web.pid`
rm -f /tmp/seafile-web.pid
fi
C
1
https://gitee.com/dolfly/seafile.git
git@gitee.com:dolfly/seafile.git
dolfly
seafile
seafile
master

搜索帮助