Skip to content

Commit a0c5cb3

Browse files
committed
Allow other ruby packages like ruby-mri in fedora
1 parent ad3d61a commit a0c5cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: templates/etc/init/mailcatcher.sysv.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
PID=""
1212

1313
updatepid(){
14-
PID=$(ps aux|grep "ruby <%= @mailcatcher_path %>/[m]ailcatcher" |awk '{print $2}')
14+
PID=$(ps aux|grep -E "ruby(-.*)* <%= @mailcatcher_path %>/[m]ailcatcher" |awk '{print $2}')
1515
}
1616

1717
start(){

0 commit comments

Comments
 (0)