Compare commits

...

2 Commits

Author SHA1 Message Date
Przemysław Grondek
f1f3ddf916 Remove interactive flag from rm 2020-02-25 14:02:17 +01:00
Przemysław Grondek
b95ddaa054 Added rules for java 2020-02-25 14:01:37 +01:00
3 changed files with 17 additions and 2 deletions

View File

@ -11,7 +11,7 @@ install:
$(foreach service,$(SERVICES), systemctl start $(service);)
clean:
$(foreach config,$(CONFIG), rm -i $(CONFIG_DIR)/$(config);)
$(foreach config,$(CONFIG), rm $(CONFIG_DIR)/$(config);)
$(foreach service,$(SERVICES), systemctl stop $(service);)
$(foreach service,$(SERVICES), systemctl disable $(service);)
$(foreach service,$(SERVICES), rm -i $(SYSTEMD_DIR)/$(service);)
$(foreach service,$(SERVICES), rm $(SYSTEMD_DIR)/$(service);)

View File

@ -21,3 +21,14 @@ group chromium {
memory.soft_limit_in_bytes = "768M";
}
}
group java {
cpu {
cpu.shares = "2000";
}
memory {
memory.limit_in_bytes = "512M"
memory.soft_limit_in_bytes = "384M"
}
}

View File

@ -10,3 +10,7 @@
# End of file
pgrondek:/usr/bin/google-chrome cpu,memory chromium
pgrondek:/home/pgrondek/bin/rambox cpu,memory chromium
pgrondek:/home/pgrondek/.sdkman/candidates/java/current/bin/java cpu,memory java
pgrondek:/home/pgrondek/.sdkman/candidates/java/11.0.5.hs-adpt/bin/java cpu,memory java
pgrondek:/home/pgrondek/.sdkman/candidates/java/11.0.6.hs-adpt/bin/java cpu,memory java