view host/startup/luanhost.postgresql.plist @ 1631:35c626c06dd5

add startup scripts for mac os
author fffilimonov
date Mon, 13 Dec 2021 09:14:52 +0000
parents
children
line wrap: on
line source

<?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>KeepAlive</key>
        <true/>
        <key>Label</key>
        <string>luanhost.postgresql</string>
        <key>ProgramArguments</key>
        <array>
            <string>/usr/local/opt/postgresql@9.5/bin/postgres</string>
            <string>-D</string>
            <string>/usr/local/var/postgresql@9.5</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>WorkingDirectory</key>
        <string>/usr/local</string>
        <key>UserName</key>
        <string>USER</string>
        <key>StandardErrorPath</key>
        <string>LOG</string>
        <key>StandardOutPath</key>
        <string>LOG</string>
    </dict>
</plist>