Skip to content

Commit

Permalink
Document annoying systemd socket enable behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
askmeaboutlo0m committed Feb 29, 2024
1 parent d686fc3 commit 4cd685c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions help/server/dedicatedserver.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@ Group=***linux-group***
Environment=DRAWPILESRV_WEB_ADMIN_AUTH=***web-admin-username***:***web-admin-password***
```

The server can be started directly with `systemctl start drawpile-srv` or by socket activation using `systemctl start drawpile-srv.socket`. When socket activation is used, the server is started on-demand when the first client connects. Note that when using SA, the `--port` and `--listen` parameters are ignored. The listening address is configured in the `drawpile-srv.socket` unit file. The first socket provided is the TCP port, the second one is the web admin port, the third is the WebSocket port.
The server can be started directly with `systemctl start drawpile-srv.service` or by socket activation using `systemctl start drawpile-srv.socket`. When socket activation is used, the server is started on-demand when the first client connects. Note that when using SA, the `--port` and `--listen` parameters are ignored. The listening address is configured in the `drawpile-srv.socket` unit file. The first socket provided is the TCP port, the second one is the web admin port, the third is the WebSocket port.

Use `systemctl enable drawpile-srv` or `systemctl enable drawpile-srv.socket` to automatically start the server on boot.
Use `systemctl enable drawpile-srv.service` to automatically start the server on boot. This will enable socket activation automatically. If you don't want that, disable it using `systemctl disable drawpile-srv.socket`. (This will probably change in the future, since it's annoying to have to enable both and then disable one.)

## Using the AppImage with systemd

Expand Down

0 comments on commit 4cd685c

Please sign in to comment.