diff --git a/confs/common/systemd/system/syncoid.service b/confs/common/systemd/system/syncoid.service index 68350c74..b5bf5e35 100644 --- a/confs/common/systemd/system/syncoid.service +++ b/confs/common/systemd/system/syncoid.service @@ -15,7 +15,7 @@ Type=oneshot # we also handle return result so that we get notified if there is an error. # Some tricks: use '$$' for $ for systemd some interpolation # + give syncoid a null input, as otherwise it consumes main input and we do loose commands -ExecStart=/bin/bash -c 'RESULT=0; grep -v "^#" /etc/sanoid/syncoid-args.conf | while read -a sync_args;do syncoid --quiet "$${sync_args[@]}"