Skip to content

This is an example of a web server created in Go incl. a Linux Systemd configuration

License

Notifications You must be signed in to change notification settings

rtitz/webserver-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webserver in Go

How to install this in Linux (Systemd)

cp -v webserver-go.service /etc/systemd/system/
mkdir -p /opt/webserver-go/bin
cp -v bin/webserver-go_linux-arm64 /opt/webserver-go/bin/webserver-go
systemctl daemon-reload
systemctl --no-pager status webserver-go
systemctl enable --now webserver-go
systemctl --no-pager status webserver-go

How to uninstall this in Linux (Systemd)

systemctl disable --now webserver-go
systemctl --no-pager status webserver-go
rm -f /etc/systemd/system/webserver-go.service
systemctl daemon-reload
rm -rf /opt/webserver-go/

About

This is an example of a web server created in Go incl. a Linux Systemd configuration

Resources

License

Stars

Watchers

Forks

Packages

No packages published