[SOLVED]Stop hugo server


Can we stop a hugo server using command line and not Ctrl-C ?

What OS? On Linux you can run: killall -9 hugo

That was this ! Thanks

1 Like

“killall hugo” or “pkill hugo” would be gentler … I think that creates SIGTERM and not SIGKILL on most Unixes … Which lets the server do its shutdown gracefully.

Good point, I did not know that!