Skip to content

Commit

Permalink
doc: reformatting
Browse files Browse the repository at this point in the history
stefanbesler committed Dec 25, 2024
1 parent 6555607 commit 59aa188
Showing 1 changed file with 27 additions and 18 deletions.
45 changes: 27 additions & 18 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -34,28 +34,28 @@ There are two main parts of this project

1. Create a service file `/etc/systemd/system/pushoverservice.service`, which looks similar to

```
[Unit]
Description=Pushover TwinCAT Service
[Service]
ExecStart=/usr/bin/dotnet </path/to/PushoverService.dll>/PushoverService.dll
Restart=always
User=<youruser>
Environment=DOTNET_ENVIRONMENT=Production
[Install]
WantedBy=multi-user.target
```
and adapt the placeholders `</path/to/PushoverService.dll>` and `<youruser>`
```
[Unit]
Description=Pushover TwinCAT Service
[Service]
ExecStart=/usr/bin/dotnet </path/to/PushoverService.dll>/PushoverService.dll
Restart=always
User=<youruser>
Environment=DOTNET_ENVIRONMENT=Production
[Install]
WantedBy=multi-user.target
```
and adapt the placeholders `</path/to/PushoverService.dll>` and `<youruser>`
1. Start the service by calling
```
sudo systemctl enable pushoverservice
sudo systemctl start pushoverservice
sudo systemctl enable pushoverservice
sudo systemctl start pushoverservice
```
@@ -82,7 +82,7 @@ There are two main parts of this project
```


## Uninstall
## Uninstall (Windows)

1. Uninstall the Windows Service by opening a Command Prompt with Administrator privileges and running:

@@ -91,4 +91,13 @@ There are two main parts of this project
sc delete PushoverService
```

## Uninstall (Linux, BSD)

1. Stop the service by calling

```
sudo systemctl stop pushoverservice
```
1. Delete the service file previously created in `/etc/systemd/system/pushoverservice.service`


0 comments on commit 59aa188

Please sign in to comment.