Thanks a lot Daniel, that worked simply!

Regards,
Ganapathy


On 1 June 2014 22:37, Daniel Malon <[email protected]> wrote:

> Hi,
>
> the default pkgsrc package already has SMF support built in as the message
> during installation should have indicated:
>
> The PostgreSQL database cluster has been initialized.
>
> The default password for the master 'postgres' user is:
>
>   postgres
>
>
> ============================================================================
> This package has SMF support.  You may use svcadm(1M) to 'enable',
> 'disable'
> or 'restart' services.  To enable the instance(s) for this package, run:
>
>         /usr/sbin/svcadm enable svc:/pkgsrc/postgresql:default
>
> Use svcs(1) to check on service status.  See smf(5) for more information.
>
> ============================================================================
>
>
> So to activate your service use svcadm enable and have it enabled.
>
>
> —
> Daniel
>
> On 1 Jun 2014, at 17:49, Ganapathy S A via smartos-discuss <
> [email protected]> wrote:
>
> I'm using SmartOS base64 14.1.0 instance and using postgres-9.3.4 inside a
> zone. Everytime I had to manually start postgres! How to set it up as a
> service & control via SMF and more importantly autostart it inside the zone?
>
> Regards,
> Ganapathy
> *smartos-discuss* | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/21955186-c7d24c67> |
> Modify
> <https://www.listbox.com/member/?&;>
> Your Subscription <http://www.listbox.com/>
>
>
>



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to