On Fri, Sep 7, 2018 at 12:18 AM, Seven Dang <thanhsang.d...@urekamedia.vn> wrote:
> Group, help me! thank so much....... very so much > I'm sorry, I don't understand your question. I don't understand what it has to do with Go at all. You seem to be asking about systemd and systemctl. These are not parts of the Go language, and they aren't something I know anything about it. Ian > On Thursday, September 6, 2018 at 5:11:16 PM UTC+7, Seven Dang wrote: >> >> I upload website build Golang on Linux (centOS 7) >> >> Folder Website >> >> ---- public >> --- views >> ------------|-backend >> ------------|-frontend >> main ( build) >> ----------------------------------img for folder >> >> [image: img1.jpg] >> >> [image: img2.jpg] >> >> [image: img3.jpg] >> >> >> >> 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. > -- 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.