summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-28 17:32:43 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-28 17:32:43 +0200
commit07a726ba274790599807b5f5133bf1d4247f7b32 (patch)
tree5e8e10ef30b38b7e1e220742261095ec75aa2248 /custom
parent21f5ffd6748ee43d7bf430127da861cfbffdff47 (diff)
downloadnixos-07a726ba274790599807b5f5133bf1d4247f7b32.tar
nixos-07a726ba274790599807b5f5133bf1d4247f7b32.tar.gz
nixos-07a726ba274790599807b5f5133bf1d4247f7b32.tar.bz2
nixos-07a726ba274790599807b5f5133bf1d4247f7b32.tar.xz
nixos-07a726ba274790599807b5f5133bf1d4247f7b32.zip
use systemd unit for queue
Diffstat (limited to 'custom')
-rwxr-xr-xcustom/uucp-mediaserver/scripts/queue6
1 files changed, 3 insertions, 3 deletions
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
119 printf "queuing ā€˜%sā€™ for %s\n" ${file:t} ${suffix} | debug 119 printf "queuing ā€˜%sā€™ for %s\n" ${file:t} ${suffix} | debug
120 function send() { 120 function send() {
121 typeset -a cmd 121 typeset -a cmd
122 cmd=(uux) 122 cmd=(uux -r -g z)
123 $noCall && cmd+=("-r")
124 cmd+=(-g z)
125 123
126 compatibleName=${file} 124 compatibleName=${file}
127 function munge() { [[ $(mungefilename ${file}) != ${file} ]] } 125 function munge() { [[ $(mungefilename ${file}) != ${file} ]] }
@@ -152,3 +150,5 @@ while true; do
152 break 150 break
153 fi 151 fi
154done 152done
153
154${noCall} || systemctl start uucico@${suffix}.service