mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
update owncast
This commit is contained in:
7
owncast/launchd/README.txt
Normal file
7
owncast/launchd/README.txt
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
1. Download owncast-macOS.zip from https://github.com/owncast/owncast/releases
|
||||||
|
2. Download ffmpeg.zip from https://evermeet.cx/ffmpeg/
|
||||||
|
3. Unzip executable files to /usr/local/bin/
|
||||||
|
4. Create launchd file: ~/Library/LaunchAgents/owncast.plist
|
||||||
|
5. Run command: launchctl bootstrap user/501 ~/Library/LaunchAgents/owncast.plist
|
||||||
|
6. Open web browser: http://127.0.0.1:8080/admin (admin:abc123)
|
||||||
|
7. OBS live stream to: rtmp://127.0.0.1/live (abc123)
|
||||||
35
owncast/launchd/owncast.plist
Normal file
35
owncast/launchd/owncast.plist
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>Label</key>
|
||||||
|
<string>owncast</string>
|
||||||
|
<key>ProgramArguments</key>
|
||||||
|
<array>
|
||||||
|
<string>/usr/local/bin/owncast</string>
|
||||||
|
<string>-backupdir=data</string>
|
||||||
|
<string>-database=data/database.db</string>
|
||||||
|
</array>
|
||||||
|
<key>StandardErrorPath</key>
|
||||||
|
<string>/usr/local/var/log/owncast.err.log</string>
|
||||||
|
<key>StandardOutPath</key>
|
||||||
|
<string>/usr/local/var/log/owncast.out.log</string>
|
||||||
|
<key>WorkingDirectory</key>
|
||||||
|
<string>/usr/local/etc/owncast</string>
|
||||||
|
<key>RunAtLoad</key>
|
||||||
|
<true/>
|
||||||
|
<key>LimitLoadToSessionType</key>
|
||||||
|
<array>
|
||||||
|
<string>Aqua</string>
|
||||||
|
<string>Background</string>
|
||||||
|
<string>LoginWindow</string>
|
||||||
|
<string>StandardIO</string>
|
||||||
|
<string>System</string>
|
||||||
|
</array>
|
||||||
|
<key>EnvironmentVariables</key>
|
||||||
|
<dict>
|
||||||
|
<key>PATH</key>
|
||||||
|
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
Reference in New Issue
Block a user