I upload website build Golang on Linux (centOS 7)

Folder Website

---- public
--- views
------------|-backend
------------|-frontend
main ( build)
----------------------------------img for folder

[image: img1.jpg] <about:invalid#zClosurez>

[image: img2.jpg] <about:invalid#zClosurez>

[image: img3.jpg] <about:invalid#zClosurez>



i run ssh :

> ./donghogold --> web run ok ( ip:port)


next run file service


--> created file 


cd /etc/systemd/system


nano dongho.service

[Unit]

Description=Go Server

[Service]

ExecStart=/var/www/web/donghogold

User=root

Group=root

Restart=always

[Install]

WantedBy=multi-user.target

--- save


systemctl enable dongho.service

systemctl start dongho.service

systemctl status dongho.service


---> Website no run (ip:port)


---- Help me ...! thanks so much....






-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to