Skip to content

Commit 3098c39

Browse files
authored
Update README.md (#150)
Fixed curl example command to work well with sudo
1 parent 3e6e5a6 commit 3098c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemd/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The provided systemd unit assumes you have the wireproxy executable installed on
88

99
1. Copy the `wireproxy.service` file from this directory to `/etc/systemd/system/`, or use the following cURL command to download it:
1010
```bash
11-
sudo curl https://raw.githubusercontent.com/pufferffish/wireproxy/master/systemd/wireproxy.service > /etc/systemd/system/wireproxy.service
11+
curl https://raw.githubusercontent.com/pufferffish/wireproxy/master/systemd/wireproxy.service | sudo tee /etc/systemd/system/wireproxy.service
1212
```
1313

1414
2. If necessary, customize the unit.

0 commit comments

Comments
 (0)