Parcourir la source

Update celerybeat to use sh instead of bash

Updated the init script to work without assuming bash is always available from /bin/bash/
Also see issue #2496
Jelle Verstraaten il y a 10 ans
Parent
commit
d80a749cec
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      extra/generic-init.d/celerybeat

+ 1 - 1
extra/generic-init.d/celerybeat

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh -e
 # =========================================================
 #  celerybeat - Starts the Celery periodic task scheduler.
 # =========================================================