Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generic-worker on macOS: move generic-worker.plist template to a sepa…
…rate file
- Loading branch information
1 parent
fe0e1ae
commit ef4e72c
Showing
3 changed files
with
25 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?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>{{ user }}</string> | ||
<key>ProgramArguments</key> <array> | ||
<string>{{ bin }}/generic-worker</string> | ||
<string>run</string> | ||
<string>--config</string> | ||
<string>{{ etc }}/config.json</string> | ||
</array> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
base: | ||
'mac*': | ||
- generic-worker | ||
- generic-worker |