view host/macos/postgres/luanhost.postgresql.plist @ 1694:09aaca079ff3

add backup script
author Vadim Filimonov <fffilimonov@yandex.ru>
date Mon, 20 Jun 2022 11:12:25 +0300
parents fd3d56f39450
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>