fix: detect and use systemd on Debian systems

Debian Bookworm completely removes invoke-rc.d, thus breaking interactions with nginx.

Closes #6020
This commit is contained in:
Jose Diaz-Gonzalez
2023-07-11 20:34:50 -04:00
parent 30a94d1f9d
commit c44d779695
3 changed files with 12 additions and 6 deletions

View File

@@ -58,10 +58,8 @@ A value of 64 would allow domains with up to 64 characters. Set it to 128 if you
Save the file and try stopping nginx and starting it again:
```shell
/etc/init.d/nginx stop
## * Stopping nginx nginx [ OK ]
/etc/init.d/nginx start
## * Starting nginx nginx [ OK ]
dokku nginx:stop
dokku nginx:start
```
---