Fix wrong service control command in wizard message

This commit is contained in:
Kirill Isakov 2021-07-18 20:38:38 +06:00
parent 6e5f71b116
commit 2adbc07cc3
No known key found for this signature in database
GPG Key ID: 7061732300C5BE15
1 changed files with 2 additions and 2 deletions

View File

@ -501,8 +501,8 @@ pub fn configure(name: Option<String>) -> Result<(), io::Error> {
println!(" start the VPN: sudo service vpncloud@{0} start", name);
println!(" stop the VPN: sudo service vpncloud@{0} stop", name);
println!(" get the status: sudo service vpncloud@{0} status", name);
println!(" add VPN to autostart: sudo sysctl enable vpncloud@{0}", name);
println!(" remove VPN from autostart: sudo sysctl disable vpncloud@{0}", name);
println!(" add VPN to autostart: sudo systemctl enable vpncloud@{0}", name);
println!(" remove VPN from autostart: sudo systemctl disable vpncloud@{0}", name);
}
Ok(())