-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
#!/vin/bash | ||
|
||
check 'php-fpm is running' sh -c 'ps aux | grep php-fpm' | ||
check 'mailpit is running' sh -c 'ps aux | grep mailpit' | ||
check 'memcached is running' sh -c 'ps aux | grep memcached' | ||
check 'mysql is running' sh -c 'ps aux | grep mysqld' | ||
check 'nginx is running' sh -c 'ps aux | grep nginx' | ||
check 'php-fpm is running' sudo sh -c 'sv status php-fpm | grep -E ^run:' | ||
check 'mailpit is running' sudo sh -c 'sv status mailpit | grep -E ^run:' | ||
check 'memcached is running' sudo sh -c 'sv status memcached | grep -E ^run:' | ||
check 'mysql is running' sudo sh -c 'sv status mariadb | grep -E ^run:' | ||
check 'nginx is running' sudo sh -c 'sv status nginx | grep -E ^run:' | ||
check 'elasticsearch is running' sudo sh -c 'sv status elasticsearch | grep -E ^run:' |