Skip to content

Simple nodejs webserver that shows a loader until a port is reachable

Notifications You must be signed in to change notification settings

innovation-system/node-waiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS Waiter

Simple NodeJS web server that servers an html loader while another nodejs application or else is starting. Once it detect the start it kills itself and redirects to the specified page.

Edit the config.js file to change the settings.

# Add service to systemctl, edit it with the correct paths
sudo cp node-waiter.service /etc/systemd/system

# Start service and check status
sudo systemctl start node-waiter.service
sudo systemctl status node-waiter.service

# Start on init
sudo systemctl enable node-waiter.service

# Check logs
sudo journalctl -u node-waiter.service

About

Simple nodejs webserver that shows a loader until a port is reachable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published