Update DEBIAN/control
This commit is contained in:
parent
ea88546282
commit
f9bff76a93
@ -47,7 +47,7 @@ Of course, you can also [download more RAM](https://downloadmoreram.com/), tune
|
|||||||
- Sending the SIGTERM signal is default corrective action. If the victim does not respond to SIGTERM, with a further drop in the level of memory it gets SIGKILL;
|
- Sending the SIGTERM signal is default corrective action. If the victim does not respond to SIGTERM, with a further drop in the level of memory it gets SIGKILL;
|
||||||
- Customizing victim selection: impact on the badness of processes via matching their names, cgroups, exe realpathes, environs, cmdlines and euids with specified regular expressions;
|
- Customizing victim selection: impact on the badness of processes via matching their names, cgroups, exe realpathes, environs, cmdlines and euids with specified regular expressions;
|
||||||
- Customizing corrective actions: if the name or control group of the victim matches a certain regex pattern, you can run any command instead of sending the SIGTERM signal (the default corrective action) to the victim. For example:
|
- Customizing corrective actions: if the name or control group of the victim matches a certain regex pattern, you can run any command instead of sending the SIGTERM signal (the default corrective action) to the victim. For example:
|
||||||
- `sysmemctl restart foo`;
|
- `systemctl restart foo`;
|
||||||
- `kill -INT $PID` (you can override the signal sent to the victim, $PID will be replaced by the victim's PID).
|
- `kill -INT $PID` (you can override the signal sent to the victim, $PID will be replaced by the victim's PID).
|
||||||
- GUI notifications:
|
- GUI notifications:
|
||||||
- Notification of corrective actions taken and displaying the name and PID of the victim;
|
- Notification of corrective actions taken and displaying the name and PID of the victim;
|
||||||
@ -137,7 +137,7 @@ $ deb/build.sh
|
|||||||
|
|
||||||
Install the package:
|
Install the package:
|
||||||
```bash
|
```bash
|
||||||
$ sudo dpkg -i deb/package.deb
|
$ sudo apt install ./deb/package.deb
|
||||||
```
|
```
|
||||||
|
|
||||||
Start and enable `nohang.service` or `nohang-desktop.service` after installing the package:
|
Start and enable `nohang.service` or `nohang-desktop.service` after installing the package:
|
||||||
|
@ -2,6 +2,8 @@ Package: nohang
|
|||||||
Version: 0.1
|
Version: 0.1
|
||||||
Section: admin
|
Section: admin
|
||||||
Architecture: all
|
Architecture: all
|
||||||
|
Depends: python3
|
||||||
|
Recommends: libnotify-bin, sudo, logrotate
|
||||||
Maintainer: Alexey Avramov <hakavlad@gmail.com>
|
Maintainer: Alexey Avramov <hakavlad@gmail.com>
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Homepage: https://github.com/hakavlad/nohang
|
Homepage: https://github.com/hakavlad/nohang
|
||||||
|
Loading…
Reference in New Issue
Block a user