teamplayer: fix postgres config
This commit is contained in:
parent
adb5f59cd9
commit
c79f4776f5
|
@ -19,10 +19,9 @@ post_files += issue nginx.conf teamplayer.service
|
||||||
preinstall:
|
preinstall:
|
||||||
|
|
||||||
postinstall: $(post_files) $(SCROBBLER_AUTH) urls.py
|
postinstall: $(post_files) $(SCROBBLER_AUTH) urls.py
|
||||||
$(inroot) $(EMERGE) --noreplace $(USEPKG) dev-db/postgresql:$(PGVER)
|
|
||||||
$(inroot) passwd -d postgres
|
$(inroot) passwd -d postgres
|
||||||
|
$(inroot) eselect postgresql unset
|
||||||
$(inroot) eselect postgresql set $(PGVER)
|
$(inroot) eselect postgresql set $(PGVER)
|
||||||
$(inroot) rm -rf /var/lib/postgresql/$(PGVER)/data
|
|
||||||
$(inroot) bash -c "echo y |$(EMERGE) --config postgresql:$(PGVER)"
|
$(inroot) bash -c "echo y |$(EMERGE) --config postgresql:$(PGVER)"
|
||||||
ifeq ($(AVAHI),YES)
|
ifeq ($(AVAHI),YES)
|
||||||
$(inroot) $(EMERGE) --noreplace $(USEPKG) net-dns/avahi
|
$(inroot) $(EMERGE) --noreplace $(USEPKG) net-dns/avahi
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
|
dev-db/postgresql:9.6
|
||||||
media-sound/mpd
|
media-sound/mpd
|
||||||
www-servers/nginx
|
www-servers/nginx
|
||||||
|
|
Loading…
Reference in New Issue