diff --git a/docs/javascript/2024-06-04-heng.md b/docs/javascript/2024-06-04-heng.md new file mode 100644 index 0000000000..805c7a2f10 --- /dev/null +++ b/docs/javascript/2024-06-04-heng.md @@ -0,0 +1,2 @@ +## 网址 +- https://www.youtube.com/@SuperSimpleSongs/videos \ No newline at end of file diff --git a/docs/javascript/2024-06-05-query.md b/docs/javascript/2024-06-05-query.md new file mode 100644 index 0000000000..4cfdd29ed6 --- /dev/null +++ b/docs/javascript/2024-06-05-query.md @@ -0,0 +1,25 @@ +## 添加系统服务dvsv3-query.service +- /usr/lib/systemd/system +``` +[Unit] +Description=dvsv3-query +After=network-online.target +Wants=network-online.target + +[Service] +# modify when deploy in prod env +User=dvs +Group=dvs + +Type=simple +ExecStart=/usr/local/dotnet-sdk/dotnet /usr/local/sunlight/dvsv3/dvs-query/DVS.Query.Api.dll +WorkingDirectory=/usr/local/sunlight/dvsv3/dvs-query + +Restart=always +RestartSec=1 +StartLimitInterval=0 + +[Install] +WantedBy=multi-user.target + +``` \ No newline at end of file