Skip to content

Instantly share code, notes, and snippets.

@henriquehorbovyi
Created April 4, 2016 02:46
Show Gist options
  • Select an option

  • Save henriquehorbovyi/7afd091587f8029f16f912b7119b2e56 to your computer and use it in GitHub Desktop.

Select an option

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.
#!/bin/bash
service=$1
action=$2
if [ $service == 'lampp' ]
then
sudo /opt/lampp/./manager $action
else
sudo service $service $action
fi
@jeffersonmourak
Copy link

Nice :Smiley:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment