Debian Codegraph @

debian/conmux-daemon-generator

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`. -e
2
3 GENERATORPATH=$1/conmux.service.d
4
5 # Generate conmux-daemon instances hooked up in conmux service
6 for f in /etc/conmux/*.cf; do
7 # if no file, we will get f=/etc/conmux/*.cf
8 [scip-shell system . . `[`. ! -f "$f" ] && continue
9 configname=`basenamescip-shell system . . basename. "$f"`
10
11 [scip-shell system . . `[`. ! -d "$GENERATORPATH" ] && mkdirscip-shell system . . mkdir. -p "$GENERATORPATH"
12 echoscip-shell system . . echo. "# Automatically generated by conmux-daemon-generator
13 [Unit]
14 Wants=conmux-daemon@${configname}.service" > "$GENERATORPATH"/conmux-daemon-$configname.conf
15 done