mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-29 20:24:11 +08:00
Merge pull request #1510 from zmwangx/systemd-readme-fix-caddy.service-mode
systemd README: set mode of caddy.service to 644 instead of 744
This commit is contained in:
commit
5e48f0a412
2
dist/init/linux-systemd/README.md
vendored
2
dist/init/linux-systemd/README.md
vendored
|
@ -94,7 +94,7 @@ and start caddy:
|
||||||
```bash
|
```bash
|
||||||
sudo cp caddy.service /etc/systemd/system/
|
sudo cp caddy.service /etc/systemd/system/
|
||||||
sudo chown root:root /etc/systemd/system/caddy.service
|
sudo chown root:root /etc/systemd/system/caddy.service
|
||||||
sudo chmod 744 /etc/systemd/system/caddy.service
|
sudo chmod 644 /etc/systemd/system/caddy.service
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
sudo systemctl start caddy.service
|
sudo systemctl start caddy.service
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user