diff --git a/bililive.observer/bililive.service b/bililive.observer/bililive.service new file mode 100644 index 0000000..2e56985 --- /dev/null +++ b/bililive.observer/bililive.service @@ -0,0 +1,15 @@ +[Unit] +Description=BiliLive.Obs by frg2089 + +[Service] +# replace by urself +User=$USER +Type=simple +ExecStart=/opt/obs-bililive/BiliLive.Service.linux-x64 --urls http://10.147.17.*:54321 +# same here. +# just move `BiliLive.*` and `Microsoft.*` to /opt. +# what's left are needed in runtime (working directory). +WorkingDirectory=$HOME/.config/obs-bililive + +[Install] +WantedBy=multi-user.target diff --git a/readme.md b/readme.md index 64a7778..41ee54c 100644 --- a/readme.md +++ b/readme.md @@ -6,7 +6,7 @@ - Jellyfin 直接拉 Docker - 记得重新配 frp( - aria2 直接拉 Docker - - ~~OBS 直播插件(`frg2089/BiliLive.Observer`)后端,写个用户级 systemd service。~~ + - OBS 直播插件(`frg2089/BiliLive.Observer`)后端 - 剩下的真想不起来了=。= - Frameworks 应用中层:框架 - Docker 懂的都懂。