mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-06-02 23:07:27 +02:00
update
This commit is contained in:
parent
cbfef5db91
commit
1a122fc437
4
webhook/launchd/README.md
Normal file
4
webhook/launchd/README.md
Normal file
@ -0,0 +1,4 @@
|
||||
```bash
|
||||
$ sudo chown root:wheel /Library/LaunchDaemons/webhook.plist
|
||||
$ sudo launchctl bootstrap system /Library/LaunchDaemons/webhook.plist
|
||||
```
|
31
webhook/launchd/webhook.plist
Normal file
31
webhook/launchd/webhook.plist
Normal file
@ -0,0 +1,31 @@
|
||||
<?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>webhook</string>
|
||||
<key>KeepAlive</key>
|
||||
<true/>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/usr/local/bin/webhook</string>
|
||||
<string>-verbose</string>
|
||||
<string>-hooks=hooks.yaml</string>
|
||||
</array>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>/usr/local/var/log/webhook.log</string>
|
||||
<key>StandardOutPath</key>
|
||||
<string>/dev/null</string>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>WorkingDirectory</key>
|
||||
<string>/usr/local/etc/webhook</string>
|
||||
<key>EnvironmentVariables</key>
|
||||
<dict>
|
||||
<key>PATH</key>
|
||||
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
|
||||
</dict>
|
||||
<key>UserName</key>
|
||||
<string>kev</string>
|
||||
</dict>
|
||||
</plist>
|
Loading…
x
Reference in New Issue
Block a user