Skip to content

Commit

Permalink
Allow other ruby packages like ruby-mri in fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
Engerim committed Apr 19, 2014
1 parent ad3d61a commit a0c5cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/etc/init/mailcatcher.sysv.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
PID=""

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

start(){
Expand Down

0 comments on commit a0c5cb3

Please sign in to comment.