mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-13 14:35:36 +00:00
20 lines
473 B
Desktop File
20 lines
473 B
Desktop File
[Unit]
|
|
Description=Balena Application Container Engine
|
|
Documentation=http://docs.docker.com
|
|
After=network.target docker.socket
|
|
Requires=docker.socket
|
|
|
|
[Service]
|
|
Type=notify
|
|
Restart=always
|
|
ExecStart=/usr/bin/dind /usr/bin/balenad --storage-driver aufs --host=fd:// -g /var/lib/docker
|
|
#Adjust OOMscore to -900 to make killing balena unlikely
|
|
OOMScoreAdjust=-900
|
|
MountFlags=slave
|
|
LimitNOFILE=1048576
|
|
LimitNPROC=1048576
|
|
LimitCORE=infinity
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|