-
Readme states
The default config section has:
What exactly is difference between |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Plugins are actual sh files and can contain multiple lines. One-line scripts are part of the config itself. This makes them simpler, easier to work with and more dynamic. Plugins are usually meant for overriding internal functions and variables. Among many possibilities, one-line scripts can be used for scheduling.
|
Beta Was this translation helpful? Give feedback.
Plugins are actual sh files and can contain multiple lines.
One-line scripts are part of the config itself. This makes them simpler, easier to work with and more dynamic.
Plugins are usually meant for overriding internal functions and variables.
Unlike one-line scripts, they are loaded only once, when the daemon starts.
Among many possibilities, one-line scripts can be used for scheduling.
I use these for overriding virtual memory parameters as well (which has nothing to do with acc):
: vm; vm="swappiness=1 vfs_cache_pressure=10 dirty_expire_centisecs=0 dirty_background_ratio=2 dirty_writeback_centisecs=0 dirty_ratio=75"; for i in $vm; do sysctl -w vm.$i >/dev/null; done