13 lines
429 B
Desktop File
13 lines
429 B
Desktop File
[Unit]
|
|
Description=Run sysboost for Kunpeng CPU
|
|
Requires=sysboost.service
|
|
After=sysboost.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStartPre=/bin/bash -c 'grep -q "kunpeng" /proc/cpuinfo'
|
|
ExecStart=/usr/bin/sysboost -static /usr/bin/static_template /usr/bin/bash/bash /usr/bin/bash/libtinfo.so --output-file /usr/local/bin/sysboost-bash
|
|
#ExecStartPost=/bin/mv /usr/local/bin/sysboost-bash /bin/bash
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |