X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprofile%2Ftemplates%2Fpostgresql%2Fpostgresql_backup%40.service.erb;fp=modules%2Frole%2Ftemplates%2Fbackup%2Fpostgresql_backup%40.service.erb;h=74f5a98c7a0a1b098f8b093fa568c729af730338;hb=d2f031ece106ed2dc37283b194edfa94718a6306;hp=245a1cbfdfc491bc816977e73746507a47b19d4e;hpb=c53ac3f84852a42aa8b7341ee7fe0a629d2e3579;p=perso%2FImmae%2FProjets%2FPuppet.git diff --git a/modules/role/templates/backup/postgresql_backup@.service.erb b/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 245a1cb..74f5a98 100644 --- a/modules/role/templates/backup/postgresql_backup@.service.erb +++ b/modules/profile/templates/postgresql/postgresql_backup@.service.erb @@ -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