make sysboost service
This commit is contained in:
parent
c026913bc1
commit
53ff95246a
@ -0,0 +1,13 @@
|
|||||||
|
[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
|
||||||
Loading…
x
Reference in New Issue
Block a user