update game configuration
This commit is contained in:
parent
d73e0ab781
commit
7a92aa1ff0
|
@ -47,8 +47,7 @@ __nmap_iface() {
|
||||||
game() {
|
game() {
|
||||||
echo "Stopping services"
|
echo "Stopping services"
|
||||||
sudo systemctl stop cronie
|
sudo systemctl stop cronie
|
||||||
systemctl --user stop redshift
|
systemctl --user stop redshift compton wallpaper
|
||||||
pkill compton
|
|
||||||
|
|
||||||
echo "Setup cpuset cgroup for host"
|
echo "Setup cpuset cgroup for host"
|
||||||
sudo cset set -c 0,4 -s system
|
sudo cset set -c 0,4 -s system
|
||||||
|
@ -67,7 +66,6 @@ game() {
|
||||||
# cpuset
|
# cpuset
|
||||||
sudo cset set -d system &>/dev/null
|
sudo cset set -d system &>/dev/null
|
||||||
# services
|
# services
|
||||||
compton &>/dev/null & disown
|
systemctl --user start redshift compton wallpaper
|
||||||
systemctl --user start redshift
|
|
||||||
sudo systemctl start cronie
|
sudo systemctl start cronie
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue