Skip to content

Commit b6222fc

Browse files
docs(sunshine): add service (#30)
1 parent e0131f8 commit b6222fc

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

docs/sunshine/service.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Service
2+
3+
## Windows
4+
5+
If you installed sunshine through the installer:
6+
7+
Press `WIN+R`, then type `services.msc` and hit `enter`.
8+
9+
Scroll down until you find `SunshineService`.
10+
11+
If you found it, make sure it is running and set to start automatically.
12+
13+
If you can't find it, go to `C:\Program Files\Sunshine\scripts` and run `install-service.bat` as admin (right click).
14+
15+
## Linux
16+
17+
Check if the service is running:
18+
19+
```bash
20+
systemctl status sunshine
21+
```
22+
23+
If it is not running, start it:
24+
25+
```bash
26+
systemctl --user start sunshine
27+
```
28+
29+
If you want to enable it to start on boot, run:
30+
31+
```bash
32+
systemctl --user enable sunshine
33+
```
34+
35+
If you want to disable the service, run:
36+
37+
```bash
38+
systemctl --user disable sunshine
39+
```
40+
41+
## Homebrew
42+
If you installed sunshine through Homebrew, you can check the status of the service with:
43+
44+
```bash
45+
brew services list
46+
```
47+
48+
If you want to enable it to start on boot, run:
49+
50+
```bash
51+
brew services start sunshine
52+
```
53+
54+
If you want to enable it to run on user login, run:
55+
56+
```bash
57+
brew services run sunshine
58+
```
59+
60+
If you want to disable the service, run:
61+
62+
```bash
63+
brew services stop sunshine
64+
```
65+
66+
For more information see our
67+
[getting started docs](https://docs.lizardbyte.dev/projects/sunshine/latest/md_docs_2getting__started.html)

0 commit comments

Comments
 (0)