From 42ff708d78ea7b1bdc725beb5fe7102b66d6d4d2 Mon Sep 17 00:00:00 2001 From: palstek Date: Tue, 2 Jan 2018 13:50:37 +0100 Subject: [PATCH] Fix Univention bareos-dir-restart script Add missing absolute path to service command. Otherwise it fails with /usr/share/univention-bareos/bareos-dir-restart: 3: /usr/share/univention-bareos/bareos-dir-restart: service: not found --- platforms/univention/bareos-dir-restart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/univention/bareos-dir-restart b/platforms/univention/bareos-dir-restart index 8a000a6aec3..840bab06397 100755 --- a/platforms/univention/bareos-dir-restart +++ b/platforms/univention/bareos-dir-restart @@ -1,5 +1,5 @@ #!/bin/sh -su - bareos -s /bin/sh -c "/usr/sbin/bareos-dir -t" && service bareos-dir restart +su - bareos -s /bin/sh -c "/usr/sbin/bareos-dir -t" && /usr/sbin/service bareos-dir restart exit $?