We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75d4e50 commit b998ad8Copy full SHA for b998ad8
1 file changed
etc/scripts/start_services.sh
@@ -1,11 +1,11 @@
1
#!/bin/bash
2
3
function startApacheLinux () {
4
- sudo service apache2 start > /dev/null 2>&1
+ sudo systemctl start apache2 > /dev/null 2>&1
5
}
6
7
function startPostgreSQLLinux () {
8
- sudo service postgresql start > /dev/null 2>&1
+ sudo systemctl start postgresql > /dev/null 2>&1
9
10
11
function startApacheOSX () {
0 commit comments