Skip to content

Commit

Permalink
fuzz: handle review comments on all but workers/
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekleog committed May 6, 2022
1 parent 1afbe48 commit 8ebbc0e
Show file tree
Hide file tree
Showing 2 changed files with 189 additions and 91 deletions.
22 changes: 10 additions & 12 deletions automation/setup-host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,18 +99,16 @@ else
fi
fi

service=$type
if [ "$type" = frontend ]; then
service=ui
fi
cp -nvt /etc/systemd/system/ -- \
"/home/nayduck/nayduck/systemd/nayduck-$service.service"
systemctl enable "nayduck-$service"
if [ "$type" = worker ]; then
cp -nvt /etc/systemd/system -- \
"/home/nayduck/nayduck/system/nayduck-fuzzer.service"
systemctl enable "nayduck-fuzzer"
fi
case $type in
frontend) services=ui ;;
worker) services='worker fuzzer' ;;
*) services=$type
esac
for service in $services; do
cp -nvt /etc/systemd/system/ -- \
"/home/nayduck/nayduck/systemd/nayduck-$service.service"
systemctl enable "nayduck-$service"
done

rm -- "$basedir/setup-host.sh"

Expand Down
Loading

0 comments on commit 8ebbc0e

Please sign in to comment.