1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-06 19:40:08 +02:00

🚨 Cleanup

This commit is contained in:
2019-07-01 13:46:02 +02:00
parent 5b319d2691
commit 8de76dc95a

View File

@ -11,18 +11,12 @@ import Foundation
class Services {
public static func mysqlIsRunning() -> Bool {
let running = Shell.execute(command: "launchctl list | grep homebrew.mxcl.mysql")
if (running != "") {
return true
}
return false
return (running != "")
}
public static func nginxIsRunning() -> Bool {
let running = Shell.execute(command: "launchctl list | grep homebrew.mxcl.nginx")
if (running != "") {
return true
}
return false
return (running != "")
}
public static func detectPhpVersions() -> [String] {