add bililive systemd service

This commit is contained in:
2025-09-09 22:00:06 +08:00
parent 0190e8b3f1
commit a471b08dae
2 changed files with 16 additions and 1 deletions

View File

@@ -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