diff --git a/UPDATES.md b/UPDATES.md index d585994..c80e4d0 100644 --- a/UPDATES.md +++ b/UPDATES.md @@ -4,7 +4,15 @@ Updates are very simple: ``` cd /opt/bgpblist/ git pull -systemctl restart bgpblacklist.service ``` -If the "bgpblacklist.service" file changes you have to copy it. \ No newline at end of file +If the systemd unit file changed: +``` +cp /opt/bgpblist/etc/systemd/bgpblacklist.service /etc/systemd/system/bgpblacklist.service +systemctl daemon-reload +``` + +Restart the service +``` +systemctl restart bgpblacklist.service +```