Jump to content

r2rka

Member
  • Posts

    5
  • Joined

  • Last visited

r2rka's Achievements

  1. It's true yeh, I saw something like 'screens' and 'rendering' so I was like naah, I need one for command line Should've read more carefully (as usual).
  2. @BeardWonderfull! Thank you so much. @EnigmaGrey- I've missunderstood screen at first glance. Its great, thank you!
  3. @EnigmaGrey, thanks mate. However I run my server on AWS which means I connect to it through terminal on my mac pc via SSH. What I'm doing currently is - using `systemctl` to start/stop/restart the service (something similar described here under Linux section https://pzwiki.net/wiki/Dedicated_Server) which I've created so far for my user, which means that I have control over the process itself but I can't really (don't understand how) use servers CLI anymore as the process runs in the background. Basically, what I'm looking for is to somehow run the server as background process with ability to get back to it (process) programmatically and use server commands like servermsg. My main goal for now is creating an sh script which would message users about server is being restarted, than stop it, validate/update, start again wrapped in to CRON job.
  4. First of all, I apologize if I hit the wrong branch/thread. I haven't found more suitable place for my question so far, however I still feel like Im doing it wrong. Please bear with me as its my second post. Here it is: Running server on AWS EC2 (Linux, Ubuntu). I've made a service as adviced in web, to actually start the process in background and to have a control over start/stop/restart, but still can't find any info on how would I kinda put the process on foreground and use the pz server CLI to actually invoke commands like servermsg and etc. Trying to solve few things, like server restart cron job with server messaging, making scripts for events, etc. I'm not new to coding, however not really experienced with Java. I would appreciate any help with it.
×
×
  • Create New...