Adding element to install the gearman job server

Change-Id: I10f3b0d7f9cbe8520219cde0d1e6d452b49cf8d9
This commit is contained in:
Derek Higgins 2013-11-18 17:05:43 +00:00
parent e750b81986
commit e33de0ad65
2 changed files with 10 additions and 0 deletions

1
elements/gearman/README Normal file
View File

@ -0,0 +1 @@
Element to install the gearman job server

View File

@ -0,0 +1,9 @@
#!/bin/bash
set -eux
install-packages gearman-job-server
if [ "$DIB_INIT_SYSTEM" == "systemd" ] ; then
systemctl enable gearmand.service
fi