We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28a2357 commit 13b227dCopy full SHA for 13b227d
irods/test/harness/manage_irods5_procs
@@ -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