Skip to content

Instantly share code, notes, and snippets.

@CamonZ
Created June 4, 2025 04:19
Show Gist options
  • Save CamonZ/20b7ec8b7efc716b2e1ecce80fa10729 to your computer and use it in GitHub Desktop.
Save CamonZ/20b7ec8b7efc716b2e1ecce80fa10729 to your computer and use it in GitHub Desktop.
<!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>custom.asdf.postgresql</string>
<key>ProgramArguments</key>
<array>
<string>~/.asdf/shims/postgres</string>
<string>-D</string>
<string>/Users/$(whoami)/.asdf/installs/postgres/$(PG_VERSION)/data</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>UserName</key>
<string>$(whoami)</string>
<key>WorkingDirectory</key>
<string>/Users/$(whoami)/.asdf/installs/postgres/$(PG_VERSION)/</string>
<key>StandardOutPath</key>
<string>/Users/$(whoami)/.asdf/var/log/postgresql.log</string>
<key>StandardErrorPath</key>
<string>/Users/$(whoami)/.asdf/var/log/postgresql_error.log</string>
<key>EnvironmentVariables</key>
<dict>
<key>HOME</key>
<string>/Users/$(whoami)</string>
<key>PATH</key>
<string>/Users/$(whoami)/.asdf/shims:/Users/$(whoami)/.asdf/bin:/usr/local/bin:/usr/bin:/bin</string>
<key>PG_VERSION</key>
<string>16.3</string>
<key>PGDATA</key>
<string>/Users/$(whoami)/.asdf/installs/postgres/$(PG_VERSION)/data</string>
</dict>
<key>ProcessType</key>
<string>Background</string>
</dict>
</plist>
<?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>custom.asdf.rabbitmq</string>
<key>ProgramArguments</key>
<array>
<string>~/.asdf/shims/rabbitmq-server</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>UserName</key>
<string>$(whoami)</string>
<key>WorkingDirectory</key>
<string>/usr/local/var/lib/rabbitmq</string>
<key>StandardOutPath</key>
<string>/usr/local/var/log/rabbitmq/rabbitmq.log</string>
<key>StandardErrorPath</key>
<string>/usr/local/var/log/rabbitmq/rabbitmq.log</string>
<key>EnvironmentVariables</key>
<dict>
<key>HOME</key>
<string>/Users/$(whoami)</string>
<key>PATH</key>
<string>/Users/$(whoami)/.asdf/shims:/Users/$(whoami)/.asdf/bin:/usr/local/bin:/usr/bin:/bin</string>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment