[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Features of installing package that works as service
From: |
znavko |
Subject: |
Re: Features of installing package that works as service |
Date: |
Wed, 28 Nov 2018 07:31:32 +0100 (CET) |
Thank you, Joshua Branson!
Your code helped me a bit
(use-modules (gnu services databases) )
(services (cons* (service postgresql-service-type)
%desktop-services))
After `guix reconfigure /etc/config.scm` and reboot postgresql server is running:
# herd status | grep postgre
+ postgres
The
only one change I want to do. Please, how to disable auto-start of
postgresql? I need it sometimes and want to start it manually only. I
think there should be some guile function like '(service
postgresql-service-type (config no-autostart))', but qwant search does
not give the answer.
and here
But I did not get the answer for those 10 minutes I've spend there.
I tried with no success:
(service postgresql-service-type (unstartable '()) )
(service postgresql-service-type (config (unstartable '()) )
(service postgresql-service-type (let (unstartable '())) )
Please, how to do this?