<em id="5553p"><strike id="5553p"></strike></em><em id="5553p"></em>
    <span id="5553p"></span>

      <span id="5553p"></span>
      <span id="5553p"><pre id="5553p"></pre></span>
      <em id="5553p"><span id="5553p"><dl id="5553p"></dl></span></em><span id="5553p"><pre id="5553p"></pre></span>

      <span id="5553p"><pre id="5553p"></pre></span>
      <span id="5553p"><pre id="5553p"></pre></span>

            <span id="5553p"></span>

            <em id="5553p"></em>

              <strike id="5553p"></strike><strike id="5553p"></strike>

              <em id="5553p"><strike id="5553p"><i id="5553p"></i></strike></em>
              <span id="5553p"><pre id="5553p"></pre></span>

                centos 8 下設置.net core項目開(kāi)機自動(dòng)啟動(dòng)

                centos 8 下設置.net core項目開(kāi)機自動(dòng)啟動(dòng)



                學(xué)習下載專(zhuān)區 【2021-01-16 16:36】


                centos 8 下設置.net core 5.0 開(kāi)機自動(dòng)啟動(dòng)


                centos 8 下設置.net core項目開(kāi)機自動(dòng)啟動(dòng)


                1.1在/etc/systemd/system 下創(chuàng )建pgsqlcodefirst.service文件;
                pgsqlcodefirst.service文件添加:

                [Unit]

                Description="pgsqlcodefirst.Service"      


                [Service]

                Type=simple

                GuessMainPID=true

                WorkingDirectory=/home/net50/

                StandardOutput=journal

                StandardError=journal

                ExecStart=/usr/lib64/dotnet/dotnet /home/net50/pgsqlcodefirst.dll                                           //啟動(dòng)指令

                Restart=always

                [Install]

                WantedBy=multi-user.target


                2.使自啟動(dòng)生效
                systemctl enable pgsqlcodefirst.service

                3.立即啟動(dòng)項目服務(wù)
                systemctl start pgsqlcodefirst.service

                systemctl stop pgsqlcodefirst.service
                systemctl restart pgsqlcodefirst.service
                systemctl list-units --type=service

                 

                 

                5.重啟服務(wù):
                shutdown -r now

                6.重啟后訪(fǎng)問(wèn):http://ip:port/


                友情鏈接:
                SQL數據庫修復專(zhuān)家
                • 關(guān)注微博
                  聯(lián)系QQ
                • 二維碼
                • 掃一掃加關(guān)注

                ——信陽(yáng)市速全網(wǎng)絡(luò )科技有限公司——

                版權所有:信陽(yáng)市速全網(wǎng)絡(luò )科技有限公司

                豫ICP備19030104號-2

                国产精品国产三级国产专区5o

                  <em id="5553p"><strike id="5553p"></strike></em><em id="5553p"></em>
                  <span id="5553p"></span>

                    <span id="5553p"></span>
                    <span id="5553p"><pre id="5553p"></pre></span>
                    <em id="5553p"><span id="5553p"><dl id="5553p"></dl></span></em><span id="5553p"><pre id="5553p"></pre></span>

                    <span id="5553p"><pre id="5553p"></pre></span>
                    <span id="5553p"><pre id="5553p"></pre></span>

                          <span id="5553p"></span>

                          <em id="5553p"></em>

                            <strike id="5553p"></strike><strike id="5553p"></strike>

                            <em id="5553p"><strike id="5553p"><i id="5553p"></i></strike></em>
                            <span id="5553p"><pre id="5553p"></pre></span>