Created
April 4, 2016 02:46
-
-
Save henriquehorbovyi/7afd091587f8029f16f912b7119b2e56 to your computer and use it in GitHub Desktop.
A script to join in one place all services that I need in my environment.
This file contains hidden or 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
| #!/bin/bash | |
| service=$1 | |
| action=$2 | |
| if [ $service == 'lampp' ] | |
| then | |
| sudo /opt/lampp/./manager $action | |
| else | |
| sudo service $service $action | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice :Smiley: