Skip to content

Commit c909a23

Browse files
authored
Merge pull request #104 from cosmo0920/1.0-launching-fluentd-service-via-commandline
Launching Fluentd Windows Service with net.exe or powershell
2 parents 7eb51a9 + 19934c7 commit c909a23

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

install/install-by-msi.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,32 @@ administrative privilege, and type the two commands below.
8181

8282
## Step 4: Run td-agent as Windows service
8383

84+
### Using GUI
85+
8486
Please guide yourself to
8587
`Control Panel -> System and Security -> Administrative Tools -> Services`,
8688
and you'll see `Fluentd Windows Service` is listed.
8789

8890
Please double click `Fluentd Window Service`, and click `Start` button.
8991
Then the process will be executed as Windows Service.
9092

93+
### Using net.exe
94+
95+
```
96+
> net start fluentdwinsvc
97+
The Fluentd Windows Service service is starting..
98+
The Fluentd Windows Service service was started successfully.
99+
```
100+
101+
### Using Powershell Cmdlet
102+
103+
```
104+
PS> Start-Service fluentdwinsvc
105+
```
106+
107+
Note that using `fluentdwinsvc` is needed to start Fluentd service in commandline.
108+
Because `fluentdwinsvc` is service name and it should be passed in `net.exe` or `Start-Service` Cmdlet.
109+
91110
The log file will be located at `C:/opt/td-agent/td-agent.log` as we
92111
specified in Step 3.
93112

0 commit comments

Comments
 (0)