+++ /dev/null
-# 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