Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

oddmario/krabssy-daemon

Repository files navigation

Krabssy Daemon

The daemon handles all the messages sent from the panel, and it also sends messages to the panel.

Dependencies used

  • To be edited...

Requirements

  • Python 3.7.3 or 3.6.X
  • cgroups v1

Installation

  1. Execute install.sh using sh install.sh

  2. Edit /etc/fstab and add usrquota,grpquota options for the /home partition.

  3. Enable the quota by typing:

mount -o remount /home

quotacheck -cugv /home

quotaon /home/
  1. If you are on Debian/Ubuntu: Edit /etc/default/grub and the add cgroup_enable=memory swapaccount=1 parameters to GRUB_CMDLINE_LINUX_DEFAULT. After that, type update-grub then reboot the system.

  2. Create a MySQL/MariaDB database and import the SQL file you can find in /sql/daemondb.sql of this repository.

  3. Edit /krabssy-daemon/config/daemon.ini to suit your needs, and make sure to put the daemon database credentials too.

  4. Start the daemon service by typing service krabssyd start

  5. Create a new daemon key in the daemon_keys table of the daemon database. The daemon key is needed for the Krabssy Panel.

Notes

  • All the tests were done on Debian 10
  • The Krabssy Daemon will override any cgroups configurations and rules on the system. So you can't use the Krabssy Daemon with another thing that uses cgroups on the same system.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published