pgagent: Remove v12 unit files
authorDevrim Gunduz <devrim@gunduz.org>
Tue, 24 Jun 2025 12:29:21 +0000 (15:29 +0300)
committerDevrim Gunduz <devrim@gunduz.org>
Tue, 24 Jun 2025 12:29:21 +0000 (15:29 +0300)
rpm/redhat/main/non-common/pgagent/EL-10/pgagent-12.service [deleted symlink]
rpm/redhat/main/non-common/pgagent/EL-7/pgagent-12.service [deleted symlink]
rpm/redhat/main/non-common/pgagent/EL-8/pgagent-12.service [deleted symlink]
rpm/redhat/main/non-common/pgagent/EL-9/pgagent-12.service [deleted symlink]
rpm/redhat/main/non-common/pgagent/F-41/pgagent-12.service [deleted symlink]
rpm/redhat/main/non-common/pgagent/F-42/pgagent-12.service [deleted symlink]
rpm/redhat/main/non-common/pgagent/SLES-12/pgagent-12.service [deleted symlink]
rpm/redhat/main/non-common/pgagent/SLES-15/pgagent-12.service [deleted symlink]
rpm/redhat/main/non-common/pgagent/main/pgagent-12.service [deleted file]

diff --git a/rpm/redhat/main/non-common/pgagent/EL-10/pgagent-12.service b/rpm/redhat/main/non-common/pgagent/EL-10/pgagent-12.service
deleted file mode 120000 (symlink)
index 2431de2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../main/../main/pgagent-12.service
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/pgagent/EL-7/pgagent-12.service b/rpm/redhat/main/non-common/pgagent/EL-7/pgagent-12.service
deleted file mode 120000 (symlink)
index 2431de2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../main/../main/pgagent-12.service
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/pgagent/EL-8/pgagent-12.service b/rpm/redhat/main/non-common/pgagent/EL-8/pgagent-12.service
deleted file mode 120000 (symlink)
index 2431de2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../main/../main/pgagent-12.service
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/pgagent/EL-9/pgagent-12.service b/rpm/redhat/main/non-common/pgagent/EL-9/pgagent-12.service
deleted file mode 120000 (symlink)
index 2431de2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../main/../main/pgagent-12.service
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/pgagent/F-41/pgagent-12.service b/rpm/redhat/main/non-common/pgagent/F-41/pgagent-12.service
deleted file mode 120000 (symlink)
index 2431de2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../main/../main/pgagent-12.service
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/pgagent/F-42/pgagent-12.service b/rpm/redhat/main/non-common/pgagent/F-42/pgagent-12.service
deleted file mode 120000 (symlink)
index 2431de2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../main/../main/pgagent-12.service
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/pgagent/SLES-12/pgagent-12.service b/rpm/redhat/main/non-common/pgagent/SLES-12/pgagent-12.service
deleted file mode 120000 (symlink)
index 2431de2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../main/../main/pgagent-12.service
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/pgagent/SLES-15/pgagent-12.service b/rpm/redhat/main/non-common/pgagent/SLES-15/pgagent-12.service
deleted file mode 120000 (symlink)
index 2431de2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../main/../main/pgagent-12.service
\ No newline at end of file
diff --git a/rpm/redhat/main/non-common/pgagent/main/pgagent-12.service b/rpm/redhat/main/non-common/pgagent/main/pgagent-12.service
deleted file mode 100644 (file)
index d884e09..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-# It's not recommended to modify this file in-place, because it will be
-# overwritten during package upgrades.  It is recommended to use systemd
-# "dropin" feature;  i.e. create file with suffix .conf under
-# /etc/systemd/system/pgagent-12.service.d directory overriding the
-# unit's defaults. You can also use "systemctl edit pgagent-12"
-# Look at systemd.unit(5) manual page for more info.
-
-[Unit]
-Description=PgAgent for PostgreSQL 12
-After=syslog.target
-After=network.target
-
-[Service]
-Type=forking
-
-User=pgagent
-Group=pgagent
-
-# Location of the configuration file
-EnvironmentFile=/etc/pgagent/pgagent_12.conf
-
-# Where to send early-startup messages from the server (before the logging
-# options of pgagent.conf take effect)
-# This is normally controlled by the global default set by systemd
-# StandardOutput=syslog
-
-# Disable OOM kill on the postmaster
-OOMScoreAdjust=-1000
-
-ExecStart=/usr/bin/pgagent_12 -s ${LOGFILE} hostaddr=${DBHOST} dbname=${DBNAME} user=${DBUSER} port=${DBPORT}
-KillMode=mixed
-KillSignal=SIGINT
-
-Restart=on-failure
-
-# Give a reasonable amount of time for the server to start up/shut down
-TimeoutSec=300
-
-[Install]
-WantedBy=multi-user.target