Dane Everitt
|
276bd2be33
|
Don't quote environment variables; it is not needed in docker for this; closes pterodactyl/panel#2030
|
2020-05-17 17:06:01 -07:00 |
|
Kawaii Neko Lolis
|
cfca0d7f07
|
Added network option to docker configuration
|
2020-05-10 03:29:56 +02:00 |
|
Dane Everitt
|
d178a0d96b
|
Don't fail deletion if container doesn't exist; closes pterodactyl/panel#2001
|
2020-05-09 17:16:41 -07:00 |
|
Dane Everitt
|
483b652087
|
Report memory stats using the same logic that docker uses for stats output; avoid extreme differences in output
|
2020-05-08 22:06:26 -07:00 |
|
Dane Everitt
|
ffd7357a1c
|
Calculate memory swap using the same memory overhead values as the hard cap; pterodactyl/panel#2000
|
2020-05-08 20:57:00 -07:00 |
|
Dane Everitt
|
b36f0de337
|
Remove dead code
|
2020-05-08 20:23:35 -07:00 |
|
Dane Everitt
|
b2cf222a3a
|
@DaneEveritt Guard against a nil-pointer if the container is not found; references pterodactyl/panel#2000
|
2020-05-08 20:19:44 -07:00 |
|
Dane Everitt
|
ced8a5bcbd
|
Formatting update
|
2020-05-08 20:16:16 -07:00 |
|
Dane Everitt
|
7bba1d4fd6
|
I guess this error could happen? Just return a crash state and let wings figure it out; closes #2003 (I hope?)
|
2020-05-07 21:08:06 -07:00 |
|
Dane Everitt
|
b2f6863399
|
Set memory overheads higher than the limit so that hard crashes are less likely
|
2020-04-25 18:20:20 -07:00 |
|
Dane Everitt
|
7321fe1421
|
Make DNS settings for containers configurable, closes #1965
|
2020-04-25 12:18:18 -07:00 |
|
Dane Everitt
|
71d38ff62e
|
Cleanup logic for getting a directory size; support cancelation during goroutine
|
2020-04-18 15:31:34 -07:00 |
|
Dane Everitt
|
b73f78a832
|
Fix configuration parsing
|
2020-04-12 17:39:19 -07:00 |
|
Dane Everitt
|
03045c94be
|
Better race condition prevention
|
2020-04-10 18:22:18 -07:00 |
|
Dane Everitt
|
019d028011
|
Add support for reinstalling a server
|
2020-04-03 13:43:13 -07:00 |
|
Dane Everitt
|
ddca34f9e8
|
Add support for defining specific threads for containers
|
2020-03-29 12:31:17 -07:00 |
|
Dane Everitt
|
ab54d2c416
|
Avoid triggering crash detection on container destroy
|
2020-01-19 14:00:59 -08:00 |
|
Dane Everitt
|
99a11f81c3
|
Improve event emitter/subscription abilities
|
2020-01-18 14:04:26 -08:00 |
|
Dane Everitt
|
c6fcd8cabb
|
Send installation data over socket when running
|
2020-01-18 13:05:44 -08:00 |
|
Dane Everitt
|
6ef2773c01
|
Very, very basic server installation process
|
2019-12-28 14:57:19 -08:00 |
|
Dane Everitt
|
d7bd10fcee
|
Better approach to timezone handling by using a TZ environment variable
|
2019-12-24 16:57:22 -08:00 |
|
Dane Everitt
|
06f495682c
|
When mounting timezone data, check for the path first to avoid a fatal error
|
2019-12-24 16:49:08 -08:00 |
|
Dane Everitt
|
32e389db21
|
General code cleanup
|
2019-12-24 16:40:51 -08:00 |
|
Dane Everitt
|
2d0faadeb6
|
Always rebuild the container when a server is started
|
2019-12-22 13:52:22 -08:00 |
|
Dane Everitt
|
fabaf21a0d
|
Sync all server details when booting daemon or server process
|
2019-12-22 13:21:21 -08:00 |
|
Dane Everitt
|
0866b84d8e
|
Implement server deletion
|
2019-12-21 23:23:56 -08:00 |
|
Dane Everitt
|
92a7c9d231
|
Don't freak out if the server doesn't exist on the remote
|
2019-12-16 20:47:35 -08:00 |
|
Dane Everitt
|
4a68eabd1b
|
Initial functionality to pull a docker image when booting an environment
|
2019-12-07 14:19:51 -08:00 |
|
Dane Everitt
|
1003abaa63
|
[#3896bk] Configure base support for properties file parsing
|
2019-11-30 18:07:05 -08:00 |
|
Dane Everitt
|
8c57583ce9
|
[#389686] Add crash detection logic to daemon
|
2019-11-30 16:43:18 -08:00 |
|
Dane Everitt
|
0ce95aa2e3
|
[#3896cn] Add support for suspending a server and blocking boot when suspended
|
2019-11-30 15:19:08 -08:00 |
|
Dane Everitt
|
151be4a458
|
Recreate the container if rebuild is required
|
2019-11-24 21:12:02 -08:00 |
|
Dane Everitt
|
a8c16debfb
|
More logical environment variable checking
|
2019-11-24 20:59:40 -08:00 |
|
Dane Everitt
|
c96f22787a
|
Correct logic handling a server resource update
|
2019-11-24 19:57:20 -08:00 |
|
Dane Everitt
|
9f4518fc58
|
Add (unchecked) code to do an in-situ replacement of build settings
|
2019-11-24 15:08:38 -08:00 |
|
Dane Everitt
|
7f4c29580a
|
Create the container if the server is booted and it is missing
|
2019-11-24 13:04:24 -08:00 |
|
Dane Everitt
|
48a303608a
|
Wrap errors to ensure a stacktrack is returned where possible
|
2019-11-16 17:05:21 -08:00 |
|
Dane Everitt
|
56be65888c
|
Don't try to truncate a file that doesn't actually exist yet
|
2019-11-16 16:07:54 -08:00 |
|
Dane Everitt
|
f0da1eeb48
|
Add basic support for creating a server on wings
|
2019-11-16 15:48:50 -08:00 |
|
Dane Everitt
|
9dcda47657
|
Send the correct signal to the instance
|
2019-09-28 13:18:09 -07:00 |
|
Dane Everitt
|
00bc71afd1
|
Update stop for servers to use configuration
|
2019-09-22 21:22:16 -07:00 |
|
Dane Everitt
|
d7753d9c7f
|
Add initial support for fetching egg configuration from panel for servers
|
2019-09-22 20:47:38 -07:00 |
|
Dane Everitt
|
2a745c5da1
|
Fix CPU calculation
|
2019-09-17 23:10:02 -07:00 |
|
Dane Everitt
|
64f477f423
|
Send server stat updates over the websocket
|
2019-09-05 22:08:10 -07:00 |
|
Dane Everitt
|
9a4f1672f7
|
Fix logic for resource usage -- include disk and reset to 0 when stopped
|
2019-08-17 16:10:48 -07:00 |
|
Dane Everitt
|
c8e6e29abc
|
Add support for streaming usage stats back to the calling process
|
2019-08-17 13:19:56 -07:00 |
|
Dane Everitt
|
7c82c6445d
|
Correctly connect to running containers
|
2019-06-29 17:52:55 -07:00 |
|
Dane Everitt
|
93c71a6ab7
|
Correct handling of state and console events
|
2019-05-27 17:12:51 -07:00 |
|
Dane Everitt
|
9c252a5ad7
|
Truncate the logs when server process is starting
|
2019-05-09 21:52:24 -07:00 |
|
Dane Everitt
|
7a52e3a9c2
|
For now, chown the server directory when the server starts
|
2019-05-09 21:48:58 -07:00 |
|