mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
prevent the kernel from OOMKilling embassyd (#1402)
* prevent the kernel from OOMKilling embassyd * privilege embassyd with respect to cpu usage * add a docker slice
This commit is contained in:
@@ -9,6 +9,9 @@ Environment=RUST_LOG=embassyd=debug,embassy=debug
|
||||
ExecStart=/usr/local/bin/embassyd
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
ManagedOOMPreference=avoid
|
||||
CPUAccounting=true
|
||||
CPUWeight=1000
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user