Skip to content

Commit b998ad8

Browse files
author
ekultek
committed
changing from services to systemctl (issue #138)
1 parent 75d4e50 commit b998ad8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/scripts/start_services.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/bin/bash
22

33
function startApacheLinux () {
4-
sudo service apache2 start > /dev/null 2>&1
4+
sudo systemctl start apache2 > /dev/null 2>&1
55
}
66

77
function startPostgreSQLLinux () {
8-
sudo service postgresql start > /dev/null 2>&1
8+
sudo systemctl start postgresql > /dev/null 2>&1
99
}
1010

1111
function startApacheOSX () {

0 commit comments

Comments
 (0)