diff options
| author | Tommaso Negri <me@tommasongr.com> | 2026-08-11 16:03:36 +0200 |
|---|---|---|
| committer | Tommaso Negri <me@tommasongr.com> | 2026-08-11 16:03:36 +0200 |
| commit | 4dcbad96f8dc63c5f48d063606f0384853ac799d (patch) | |
| tree | b34ff73c4f2a9c2433ee96807e1bf735ed743a40 /daemons/volume/house.panini.bar.volumed.plist | |
| parent | 28a31ee6831a2b929d88887f5d49f869877c9226 (diff) | |
| download | bar-4dcbad96f8dc63c5f48d063606f0384853ac799d.tar.gz bar-4dcbad96f8dc63c5f48d063606f0384853ac799d.zip | |
add daemon example to notify about volume changes
Diffstat (limited to 'daemons/volume/house.panini.bar.volumed.plist')
| -rw-r--r-- | daemons/volume/house.panini.bar.volumed.plist | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/daemons/volume/house.panini.bar.volumed.plist b/daemons/volume/house.panini.bar.volumed.plist new file mode 100644 index 0000000..09e1084 --- /dev/null +++ b/daemons/volume/house.panini.bar.volumed.plist @@ -0,0 +1,25 @@ +<?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>house.panini.bar.volumed</string> + + <key>ProgramArguments</key> + <array> + <string>/Users/your-username/.local/bin/bar-volumed</string> + </array> + + <key>RunAtLoad</key> + <true/> + + <key>KeepAlive</key> + <true/> + + <key>StandardOutPath</key> + <string>/tmp/bar/volumed.log</string> + + <key>StandardErrorPath</key> + <string>/tmp/bar/volumed.log</string> +</dict> +</plist> |
