command.txt in Monitoring 7
#!/bin/bash
NAME=@name
# Make sure the drush path, root and uri are correct.
#
DRUSH="/path/to/drush --root=@root --uri=@uri monitoring-munin"
# Alternatively with sudo
#
# DRUSH="sudo -u www_user /path/to/drush --root=@root --uri=@uri monitoring-munin"
case $1 in
config)
DRUSH=$DRUSH" --get-config"
esac
$DRUSH
File
modules/monitoring_munin/config_tpl/command.txt
View source
- #!/bin/bash
-
- NAME=@name
-
- # Make sure the drush path, root and uri are correct.
- #
- DRUSH="/path/to/drush --root=@root --uri=@uri monitoring-munin"
-
- # Alternatively with sudo
- #
- # DRUSH="sudo -u www_user /path/to/drush --root=@root --uri=@uri monitoring-munin"
-
- case $1 in
- config)
- DRUSH=$DRUSH" --get-config"
- esac
-
- $DRUSH