[Packaging] Add updated launchd scripts
Copy from Trac UserGuide and updated with proper naming and deluge-web version. The bin location is default for brew with pip install. Closes: #3073
This commit is contained in:
parent
957cd5dd9c
commit
879a397215
|
@ -0,0 +1,29 @@
|
||||||
|
<?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>org.deluge-torrent.deluge-web</string>
|
||||||
|
<key>ProgramArguments</key>
|
||||||
|
<array>
|
||||||
|
<string>/usr/local/bin/deluge-web</string>
|
||||||
|
<string>-d</string>
|
||||||
|
<string>-L</string>
|
||||||
|
<string>error</string>
|
||||||
|
<string>-l</string>
|
||||||
|
<string>/var/log/deluge-web.log</string>
|
||||||
|
</array>
|
||||||
|
<key>StandardOutPath</key>
|
||||||
|
<string>/tmp/deluge-web.stdout</string>
|
||||||
|
<key>StandardErrorPath</key>
|
||||||
|
<string>/tmp/deluge-web.stderr</string>
|
||||||
|
<!-- To enable running as 'deluge' user remove comments.
|
||||||
|
<key>UserName</key>
|
||||||
|
<string>deluge</string>
|
||||||
|
-->
|
||||||
|
<key>RunAtLoad</key>
|
||||||
|
<true/>
|
||||||
|
<key>KeepAlive</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
|
@ -0,0 +1,29 @@
|
||||||
|
<?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>org.deluge-torrent.deluged</string>
|
||||||
|
<key>ProgramArguments</key>
|
||||||
|
<array>
|
||||||
|
<string>/usr/local/bin/deluged</string>
|
||||||
|
<string>-d</string>
|
||||||
|
<string>-L</string>
|
||||||
|
<string>error</string>
|
||||||
|
<string>-l</string>
|
||||||
|
<string>/var/log/deluged.log</string>
|
||||||
|
</array>
|
||||||
|
<key>StandardOutPath</key>
|
||||||
|
<string>/tmp/deluged.stdout</string>
|
||||||
|
<key>StandardErrorPath</key>
|
||||||
|
<string>/tmp/deluged.stderr</string>
|
||||||
|
<!-- To enable running as 'deluge' user remove comments.
|
||||||
|
<key>UserName</key>
|
||||||
|
<string>deluge</string>
|
||||||
|
-->
|
||||||
|
<key>RunAtLoad</key>
|
||||||
|
<true/>
|
||||||
|
<key>KeepAlive</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
Loading…
Reference in New Issue