From 07a726ba274790599807b5f5133bf1d4247f7b32 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 28 Apr 2018 17:32:43 +0200 Subject: use systemd unit for queue --- custom/uucp-mediaserver/scripts/queue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'custom/uucp-mediaserver/scripts/queue') diff --git a/custom/uucp-mediaserver/scripts/queue b/custom/uucp-mediaserver/scripts/queue index 1a35dac8..7abd0fb0 100755 --- a/custom/uucp-mediaserver/scripts/queue +++ b/custom/uucp-mediaserver/scripts/queue @@ -119,9 +119,7 @@ while true; do printf "queuing ā€˜%sā€™ for %s\n" ${file:t} ${suffix} | debug function send() { typeset -a cmd - cmd=(uux) - $noCall && cmd+=("-r") - cmd+=(-g z) + cmd=(uux -r -g z) compatibleName=${file} function munge() { [[ $(mungefilename ${file}) != ${file} ]] } @@ -152,3 +150,5 @@ while true; do break fi done + +${noCall} || systemctl start uucico@${suffix}.service -- cgit v1.2.3