mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 08:19:04 +00:00
修改配置文件为相对路径,不用再指定目录了
This commit is contained in:
13
scripts/jumpserver.sh
Normal file
13
scripts/jumpserver.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $USER = 'admin' ] || [ $USER == 'root' ];then
|
||||
echo ""
|
||||
else
|
||||
python /opt/jumpserver/jumpserver.py
|
||||
if [ $USER == 'guanghongwei' ];then
|
||||
echo
|
||||
else
|
||||
exit 3
|
||||
echo
|
||||
fi
|
||||
fi
|
1
scripts/pip-requirement.txt
Normal file
1
scripts/pip-requirement.txt
Normal file
@@ -0,0 +1 @@
|
||||
pexpect == 3.3
|
Reference in New Issue
Block a user