Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
stopping Thin when running as Windows service using winsw
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
dkoper  
View profile  
 More options Jan 30 2012, 1:57 am
From: dkoper <di...@fast.au.fujitsu.com>
Date: Sun, 29 Jan 2012 22:57:45 -0800 (PST)
Local: Mon, Jan 30 2012 1:57 am
Subject: stopping Thin when running as Windows service using winsw
I'm using winsw (http://kenai.com/projects/winsw/pages/Home) to
register Thin as a Windows service. Starting works fine, but stopping
doesn't. It just keeps trying but doesn't complete. What am I doing
wrong?

This is the wrapper configuration file I use:

<service>
  <id>ChiliProjectOnThin</id>
  <name>ChiliProjectOnThin</name>
  <description>ChiliProject on Thin web server</description>
  <executable>c:\Ruby\ruby187\bin\rubyw.exe</executable>
  <logpath>C:\ChiliProject</logpath>
  <logmode>roll</logmode>
  <depend>CollabNetSubversionServer</depend>
  <startargument>C:/Ruby/Ruby187/bin/thin -c C:\ChiliProject
\chiliproject-3.0.0beta2 -e production -a 127.0.0.1 start</
startargument>
  <stopargument>C:/Ruby/Ruby187/bin/thin -c C:\ChiliProject
\chiliproject-3.0.0beta2 stop</stopargument>
</service>

This is on Windows 2003 with winsw 1.9. Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
OsTrY  
View profile  
 More options Aug 10 2012, 3:38 am
From: OsTrY <oste...@gmail.com>
Date: Fri, 10 Aug 2012 00:38:24 -0700 (PDT)
Local: Fri, Aug 10 2012 3:38 am
Subject: Re: stopping Thin when running as Windows service using winsw

Hi, I have the same problem. How did you solve it?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dkoper  
View profile  
 More options Oct 4 2012, 2:12 am
From: dkoper <dies...@gmail.com>
Date: Wed, 3 Oct 2012 23:12:23 -0700 (PDT)
Local: Thurs, Oct 4 2012 2:12 am
Subject: Re: stopping Thin when running as Windows service using winsw

Solved by changing the XML:

<service>
  <id>RedmineOnThin</id>
  <name>RedmineOnThin</name>
  <description>Redmine on Thin web server</description>
  <executable>c:\IT\ruby193\bin\rubyw.exe</executable>
  <logpath>C:\IT</logpath>
  <logmode>roll</logmode>
  <arguments>C:/IT/Ruby193/bin/thin -c C:\IT\Redmine-2.0.3 -e production
--prefix /redmine -a 127.0.0.1 start</arguments>
</service>

Note the use of <arguments> now instead of the separate start and stop
arguments.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »