~yolanda.robla/charms/precise/gearman-server/trunk

1
2
3
4
5
6
7
8
#!/bin/bash
# Here put anything that is needed to start the service.
# Note that currently this is run directly after install
# i.e. 'service apache2 start'

set -ux

service gearman-server status && service gearman-server restart || service gearman-server start