mirror of
https://github.com/caddyserver/caddy.git
synced 2025-06-04 22:25:31 -04:00
Update README.md (#2004)
Adding the bash command for downloading the caddy.service file from the reposetory. Because it was easy to forget where you find it.
This commit is contained in:
parent
fc6d62286e
commit
e20779e405
1
dist/init/linux-systemd/README.md
vendored
1
dist/init/linux-systemd/README.md
vendored
@ -91,6 +91,7 @@ Install the systemd service unit configuration file, reload the systemd daemon,
|
|||||||
and start caddy:
|
and start caddy:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
wget https://raw.githubusercontent.com/mholt/caddy/master/dist/init/linux-systemd/caddy.service
|
||||||
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 644 /etc/systemd/system/caddy.service
|
sudo chmod 644 /etc/systemd/system/caddy.service
|
||||||
|
Loading…
x
Reference in New Issue
Block a user