Cross-platform support (macOS + Linux): venv-based install, launchd & systemd autostart, CLI-override bugfix
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?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>__LABEL__</string>
|
||||
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>__PYTHON__</string>
|
||||
<string>__SCRIPT__</string>
|
||||
<string>__WATCH_DIR__</string>
|
||||
</array>
|
||||
|
||||
<key>WorkingDirectory</key>
|
||||
<string>__WORKDIR__</string>
|
||||
|
||||
<!-- Beim Login automatisch starten und am Leben halten -->
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>KeepAlive</key>
|
||||
<true/>
|
||||
|
||||
<key>StandardOutPath</key>
|
||||
<string>__WORKDIR__/watcher.out.log</string>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>__WORKDIR__/watcher.err.log</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user