Skip to content

Commit 13b227d

Browse files
committed
script to start server under iRODS 5
1 parent 28a2357 commit 13b227d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
if [ "$1" = "start" ]; then
2+
sudo su - irods -c 'irodsServer -d -p /tmp/irods.pid'
3+
elif [ "$1" = "status" ]; then
4+
pgrep -afl "irods(Delay|Agent|Server)"
5+
elif [ "$1" = "stop" ]; then
6+
sudo su - irods -c 'kill -QUIT $(cat /tmp/irods.pid)'
7+
else
8+
echo >&2 "usage: $0 [start|status|stop]"
9+
exit 2
10+
fi

0 commit comments

Comments
 (0)