mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
* prevent the kernel from OOMKilling embassyd * privilege embassyd with respect to cpu usage * add a docker slice
18 lines
325 B
Desktop File
18 lines
325 B
Desktop File
[Unit]
|
|
Description=Embassy Daemon
|
|
After=embassy-init.service
|
|
Requires=embassy-init.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
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
|