]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/profile/templates/postgresql/postgresql_backup@.service.erb
Refactor backup postgresql
[perso/Immae/Projets/Puppet.git] / modules / profile / templates / postgresql / postgresql_backup@.service.erb
similarity index 87%
rename from modules/role/templates/backup/postgresql_backup@.service.erb
rename to modules/profile/templates/postgresql/postgresql_backup@.service.erb
index 245a1cbfdfc491bc816977e73746507a47b19d4e..74f5a98c7a0a1b098f8b093fa568c729af730338 100644 (file)
@@ -8,10 +8,10 @@ TimeoutSec=120
 User=postgres
 Group=postgres
 
-Environment=PGROOT=<%= @mountpoint %>/%i/postgresql
+Environment=PGROOT=<%= @base_path %>/%i/postgresql
 
 SyslogIdentifier=postgres
-PIDFile=<%= @mountpoint %>/%i/postgresql/postmaster.pid
+PIDFile=<%= @base_path %>/%i/postgresql/postmaster.pid
 RuntimeDirectory=postgresql
 RuntimeDirectoryMode=755