Add systemd service#79
Conversation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
Closing this for now since I realized updates will break the service, will re-open when it's fixed |
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Request review from @mitoskalandiel
|
Something more important occured to me; when we are in a docker environment we cannot allow a user to use this function at all. |
mitoskalandiel
left a comment
There was a problem hiding this comment.
this looks good to me
Along the same line, lets in future differentiate between "service autostart" (like ssui starting up during HOST start) and "game autostart" which just laucnhes the game server, once ssui is up. |
|
Updated nightly to be on sync with main, didnt realize this would close this PR |
- Trying to not run into merge issues later on - because im working on go and localization too here
…ues." This reverts commit 3a1861c.
…ostart scripts and service. SSUI now can be run with --setupautostart to add a systemd service. - revised autostart.sh to only create the service file - moved SetupAutostartScripts to autostart package, handles script creation for both Windows and Linux. - Created service-lin.go for Linux service setup, including checks for existing service installation. - Added symlink-linux.go to manage symlink creation of a StationeersServerUI.lnk - Implemented container detection to skip symlink creation if running inside a Docker container. - Placeholder for Windows service setup in service-win.go.
…ostart scripts and service. SSUI now can be run with --setupautostart to add a systemd service. - revised autostart.sh to only create the service file - moved SetupAutostartScripts to autostart package, handles script creation for both Windows and Linux. - Created service-lin.go for Linux service setup, including checks for existing service installation. - Added symlink-linux.go to manage symlink creation of a StationeersServerUI.lnk - Implemented container detection to skip symlink creation if running inside a Docker container. - Placeholder for Windows service setup in service-win.go. - Added instructions to first time setup message - moved init of VirtFS earlier in server.go
…UI/StationeersServerUI into feat-systemd-service
|
This will need to be re-implemented from current #94 |
Description
Improvements
autorun.shscript on Linux. Running this will install a system service to run SSUI