<span id="pvlvb"></span>
        <em id="pvlvb"><strike id="pvlvb"></strike></em>

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

          <span id="pvlvb"><pre id="pvlvb"></pre></span><span id="pvlvb"></span>
          <noframes id="pvlvb"><strike id="pvlvb"><dl id="pvlvb"></dl></strike>

          <em id="pvlvb"></em>
            <em id="pvlvb"><p id="pvlvb"></p></em><span id="pvlvb"></span>

                <strike id="pvlvb"></strike><span id="pvlvb"></span>

                <form id="pvlvb"><pre id="pvlvb"><dl id="pvlvb"></dl></pre></form><em id="pvlvb"></em>

                        <em id="pvlvb"></em>
                            <span id="pvlvb"></span>
                              <span id="pvlvb"><pre id="pvlvb"><dl id="pvlvb"></dl></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

                              日本不卡在线
                                <span id="pvlvb"></span>
                                    <em id="pvlvb"><strike id="pvlvb"></strike></em>

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

                                      <span id="pvlvb"><pre id="pvlvb"></pre></span><span id="pvlvb"></span>
                                      <noframes id="pvlvb"><strike id="pvlvb"><dl id="pvlvb"></dl></strike>

                                      <em id="pvlvb"></em>
                                        <em id="pvlvb"><p id="pvlvb"></p></em><span id="pvlvb"></span>

                                            <strike id="pvlvb"></strike><span id="pvlvb"></span>

                                            <form id="pvlvb"><pre id="pvlvb"><dl id="pvlvb"></dl></pre></form><em id="pvlvb"></em>

                                                    <em id="pvlvb"></em>
                                                        <span id="pvlvb"></span>
                                                          <span id="pvlvb"><pre id="pvlvb"><dl id="pvlvb"></dl></pre></span>