This commit is contained in:
Setyo Nugroho 2022-03-18 13:13:12 +07:00
parent cd200bdd96
commit 34153f0dc3
2 changed files with 5 additions and 5 deletions

View file

@ -144,7 +144,7 @@ An API server will be open on port `8182`.
To install Yuyu API, you need to execute this command.
```bash
./bin/setup_event_montor.sh
./bin/setup_event_monitor.sh
```

View file

@ -5,13 +5,13 @@ cd $SCRIPT_DIR || exit
cd ..
echo "Installing Rintik API Service"
echo "Installing Yuyu Event Monitor Service"
yuyu_dir=`pwd -P`
echo "Riktik dir is $yuyu_dir"
echo "Yuyu dir is $yuyu_dir"
yuyu_dir_sub=${yuyu_dir//\//\\\/}
sed "s/{{yuyu_dir}}/$yuyu_dir_sub/g" "$yuyu_dir"/script/yuyu_event_monitor.service > /etc/systemd/system/yuyu_event_monitor.service
echo "Yuyu API Service Installed on /etc/systemd/system/yuyu_event_monitor.service"
echo "Done! you can enable Rintik API with systemctl start yuyu_event_monitor"
echo "Yuyu Event Monitor Service Installed on /etc/systemd/system/yuyu_event_monitor.service"
echo "Done! you can enable Yuyu Event Monitor with systemctl start yuyu_event_monitor"