From 1cdb2137673a9928d56badc4044827c52890f76d Mon Sep 17 00:00:00 2001 From: Kory Draughn Date: Wed, 13 Nov 2024 17:27:45 -0500 Subject: [PATCH] [?] Add systemd service file template. TODO: Review /var/run for PID file. --- packaging/irods.service.template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 packaging/irods.service.template diff --git a/packaging/irods.service.template b/packaging/irods.service.template new file mode 100644 index 0000000000..26c2d02c19 --- /dev/null +++ b/packaging/irods.service.template @@ -0,0 +1,18 @@ +[Unit] +Description=iRODS 5 +After=network.target + +[Service] +Type=forking +PIDFile=/run/irods/irods-server.pid +ExecStart=/usr/sbin/irodsServer -d +ExecReload=/bin/kill -HUP $MAINPID +ExecStop=/bin/kill -TERM $MAINPID +Restart=on-failure +User=irods +Group=irods +WorkingDirectory=/var/lib/irods +LimitNOFILE=65536 + +[Install] +WantedBy=multi-user.target