#!/bin/sh

# Legacy action script for "service postgresql --initdb"
cmd="/usr/bin/postgresql-setup --initdb --unit postgresql"
echo "Hint: the preferred way to do this is now \"$cmd\"" >&2
$cmd
