summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorHerman van Rink2016-10-27 14:13:40 (GMT)
committerHerman van Rink2016-10-27 14:15:20 (GMT)
commit97af1bb7fd0f7a6e171c3a2235d168725ff53872 (patch)
treef2dbf9da12d32b6f7cb8a60f4f367f32473a6ae4 /debian
parente7dd00fc8c34aa9503bfc26381a8ad787e8780fb (diff)
Issue #2347557 by helmo, gboudrias: Enable the systemd hosting-queued
Diffstat (limited to 'debian')
-rw-r--r--debian/aegir3-hostmaster.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/aegir3-hostmaster.postinst b/debian/aegir3-hostmaster.postinst
index 5237757..800db26 100644
--- a/debian/aegir3-hostmaster.postinst
+++ b/debian/aegir3-hostmaster.postinst
@@ -150,6 +150,11 @@ EOF
echo 'Enabling hosting-queued daemon'
su -s /bin/sh aegir -c 'drush @hostmaster pm-enable -y hosting_queued'
service hosting-queued start
+ if [ -f /bin/systemctl ]; then
+ # There must be a better way, but we're trying to stay compatible with Debian Wheezy and Jessie.
+ # See https://www.drupal.org/node/2347557 for discussion.
+ /bin/systemctl enable hosting-queued
+ fi
fi
case $WEBSERVER in