service network restart take place of
I was managing my server the other day using SSH and I changed my internal IP from DHCP to static. After editing the config file I had to restart the network to update the config. I didn't want to try doing
ifdown from SSH because I'm sure I would be disconnected. I wasn't sure of any other commands at the time so I just hardwired into the server and finished the maintenance from there. Afterwords I found out about the
service network restart command. If I had done that command instead from SSH, would I have been able to log back in afterwards using SSH?