You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can someone help me get the CS2 server working with systemd?
I’d like to add it to systemd so that I have a clean auto-start on boot and proper restart behavior.
When I run the start script manually, I notice some odd behavior. The output from the script only appears after I exit the current Bash instance. I'm not sure how to properly add the startup script to systemd to avoid this.
As a bonus, I’d really appreciate it if I could set up a daily restart that takes into account any players still on the server and waits for them to leave before restarting.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
Can someone help me get the CS2 server working with systemd?
I’d like to add it to systemd so that I have a clean auto-start on boot and proper restart behavior.
When I run the start script manually, I notice some odd behavior. The output from the script only appears after I exit the current Bash instance. I'm not sure how to properly add the startup script to systemd to avoid this.
As a bonus, I’d really appreciate it if I could set up a daily restart that takes into account any players still on the server and waits for them to leave before restarting.
Thanks in advance for any help!
Beta Was this translation helpful? Give feedback.
All reactions