Skip to content

Commit 909eb4b

Browse files
authored
Create stop_server
1 parent 442647b commit 909eb4b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

scripts/stop_server

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
isExistApp = `pgrep httpd`
3+
if [[ -n $isExistApp ]]; then
4+
service httpd stop
5+
fi

0 commit comments

Comments
 (0)