Skip to content

Commit

Permalink
[?] Add systemd service file template. TODO: Review /var/run for PID …
Browse files Browse the repository at this point in the history
…file.
  • Loading branch information
korydraughn committed Nov 14, 2024
1 parent fe3821c commit 1cdb213
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packaging/irods.service.template
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1cdb213

Please sign in to comment.