Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#3964 closed defect (fixed)

'--service install' ignores all other command-line arguments

Reported by: rransom Owned by:
Priority: Low Milestone: Tor: 0.2.3.x-final
Component: Core Tor/Tor Version:
Severity: Keywords: easy documentation-fix tor-relay
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


I ran tor --service install -f C:/WORK/Tor/etc/torrc as a Windows administrator, and it created a Windows NT service to run the command '"C:\WORK\Tor\bin\tor.exe" --nt-service'. It should have included '-f C:/WORK/Tor/etc/torrc' on the service's command line.

Child Tickets

Attachments (1)

tor-wnt-service-properties-2011-09-08-01.png (19.1 KB) - added by rransom 9 years ago.
screenshot of resulting Windows 'service'

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by rransom

screenshot of resulting Windows 'service'

comment:1 Changed 9 years ago by rransom

The 'Services' 'Administrative Tool' provided by Microsoft does not allow users to change a service's command line or create or delete services. The only way to create a Tor service whose configuration file is in a non-default location is to run the sc command-line tool.

comment:2 Changed 9 years ago by nickm

Milestone: Tor: unspecified

comment:3 Changed 9 years ago by rransom

Keywords: easy documentation-fix added
Milestone: Tor: unspecifiedTor: 0.2.3.x-final

nt_service_command_line looks for a “--options” command-line argument. All we need to do is document it.

comment:4 Changed 9 years ago by nickm

Status: newneeds_review

Documentation fix in branch bug3964 in my public repository. Please review?

comment:5 Changed 8 years ago by nickm

Resolution: fixed
Status: needs_reviewclosed

Still looks okay to me. Merging, and cleaning up the FAQ a little

comment:6 Changed 8 years ago by nickm

Keywords: tor-relay added

comment:7 Changed 8 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.