Commit 3e34c89c authored by wojiushixiaobai's avatar wojiushixiaobai

Update

parent 1c04bac4
...@@ -168,7 +168,7 @@ Systemd 管理启动 Jumpserver ...@@ -168,7 +168,7 @@ Systemd 管理启动 Jumpserver
[Service] [Service]
Type=forking Type=forking
Environment="PATH=/opt/py3/bin" Environment="PATH=/opt/py3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin"
ExecStart=/opt/coco/cocod start -d ExecStart=/opt/coco/cocod start -d
ExecReload= ExecReload=
ExecStop=/opt/coco/cocod stop ExecStop=/opt/coco/cocod stop
...@@ -203,3 +203,13 @@ Systemd 管理启动 Jumpserver ...@@ -203,3 +203,13 @@ Systemd 管理启动 Jumpserver
$ systemctl enable jms $ systemctl enable jms
$ systemctl enable coco $ systemctl enable coco
$ systemctl enable tomcat $ systemctl enable tomcat
# 启动
$ systemctl start jms
$ systemctl start coco
$ systemctl start tomcat
# 停止
$ systemctl stop jms
$ systemctl stop coco
$ systemctl stop tomcat
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment