Jump to content

How can i shutdown the server via Bash script on Ubuntu?


Firex

Recommended Posts

Posted

Hi, I'm currently working on a bash script that automatically starts the server at a set time. Now, I'm also trying to make the script shut down the server after a couple of hours using this line:


echo "quit" > "/home/pz/Steam/steamapps/common/Project Zomboid Dedicated Server/ProjectZomboid64"

 

This line does not work, and I'm quite troubled about how I could send that command to the server console.
I would appreciate any help from any of you guys, thanks :D

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...