mirror of
https://github.com/servo/servo.git
synced 2025-07-13 10:23:40 +01:00
Tweak the Salt definition of /Library/LaunchAgents/net.generic.worker.plist so that the `user` parameter for the template file is not taken as a parameter for `file.managed`. (The first run created a file owned by `worker` instead of `root`.)
18 lines
No EOL
759 B
Django/Jinja
18 lines
No EOL
759 B
Django/Jinja
<?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>net.generic.worker</string>
|
|
<key>KeepAlive</key> <true/>
|
|
<key>StandardOutPath</key> <string>stdout.log</string>
|
|
<key>StandardErrorPath</key> <string>stderr.log</string>
|
|
<key>WorkingDirectory</key> <string>{{ home }}</string>
|
|
<key>UserName</key> <string>{{ username }}</string>
|
|
<key>ProgramArguments</key> <array>
|
|
<string>{{ bin }}/generic-worker</string>
|
|
<string>run</string>
|
|
<string>--config</string>
|
|
<string>{{ etc }}/config.json</string>
|
|
</array>
|
|
</dict>
|
|
</plist> |