From 134d80a91d65f699d54cbefabddd41545b870b49 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 12 Jan 2022 11:32:08 -0500 Subject: [PATCH] Replace Requires with BindsTo and add comment explaining how to override --- distros/ubuntu2004/zoneminder.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/distros/ubuntu2004/zoneminder.service b/distros/ubuntu2004/zoneminder.service index cb2d6791e..6645fea04 100644 --- a/distros/ubuntu2004/zoneminder.service +++ b/distros/ubuntu2004/zoneminder.service @@ -5,7 +5,8 @@ Description=ZoneMinder CCTV recording and surveillance system After=network.target mysql.service # Remarked out so that it will start ZM on machines that don't have mysql installed -#Requires=mysql.service +# Override it by placing an override.conf in /etc/systemd/system/zoneminder.service.d +#BindsTo=mysql.service [Service] #User=www-data