Changes to add support for mongodb for xenial to trove/integration. The schema is the same proposed by Doug Shelley in the initial work, splitting trusty and xenial. - bumped version to 3.2.11 - conversion of upstart files in systemd unit files for mongod and mongos - added oneshot systemd unit file for Transparent Huge Pages - added script to check if numactl is used by the system and oneshot systemd unit file that will generate an environment file for mongod systemd service Change-Id: Ie6492b24f6803b35d929b499cfb7716e28bebfaa Depends-On: I8e1de6ef31f969ccee88c334a0d5ed03aabd1b51
20 lines
307 B
Bash
Executable File
20 lines
307 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
set -o xtrace
|
|
|
|
cat > /lib/systemd/system/check-numa.service << '_EOF_'
|
|
[Unit]
|
|
Description=Generates /etc/numactl.env
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/share/mongodb/check-numa.sh
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
_EOF_
|
|
|
|
systemctl daemon-reload
|
|
systemctl enable check-numa.service
|