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
ForkGG currently lacks an easy way to execute batch or shell scripts on server startup/restart. I would like to request the ability for ForkGG to automatically detect and run a script.bat (for Windows) or script.sh (for Linux/MacOS) in the server directory before starting the server.
Use Case
I need to run a batch command like this on every restart: xcopy /y "C:\...\playgorund-1.0-SNAPSHOT.jar" "E:\...\plugins"
Solution
Automatically detect and run script.bat (Windows) or script.sh (Linux/MacOS) before starting the server.
Keep the script optional and empty by default.
Benefits
Simplifies automation tasks like copying files or backups.
Reduces the need for manual file modifications or custom Java parameters.
The text was updated successfully, but these errors were encountered:
ForkGG currently lacks an easy way to execute batch or shell scripts on server startup/restart. I would like to request the ability for ForkGG to automatically detect and run a script.bat (for Windows) or script.sh (for Linux/MacOS) in the server directory before starting the server.
Use Case
I need to run a batch command like this on every restart:
xcopy /y "C:\...\playgorund-1.0-SNAPSHOT.jar" "E:\...\plugins"
Solution
Automatically detect and run script.bat (Windows) or script.sh (Linux/MacOS) before starting the server.
Keep the script optional and empty by default.
Benefits
Simplifies automation tasks like copying files or backups.
Reduces the need for manual file modifications or custom Java parameters.
The text was updated successfully, but these errors were encountered: