added more options to set restart policy on services and ignore certain
processes
This commit is contained in:
13
config.cfg
13
config.cfg
@ -24,6 +24,8 @@ do_package_upgrade=yes
|
||||
|
||||
# restart services affected by previous upgrades
|
||||
do_service_restart=yes
|
||||
# what to do with identified services by default. See services section.
|
||||
default_service_policy=ignore
|
||||
|
||||
# do depclean on Gentoo
|
||||
do_depclean=yes
|
||||
@ -48,8 +50,15 @@ dev-db/postgresql=1
|
||||
gitlab=1
|
||||
|
||||
|
||||
# The services section contains <process-name>=<service-name>
|
||||
# The processes section contains <process-name>=<service-name>
|
||||
# The process name is whatever psutil returns and I haven't checked if it's
|
||||
# trustworthy, so it's probably not... Use with care.
|
||||
[services]
|
||||
# To ignore processes, just add them with empty values
|
||||
[processes]
|
||||
gitlab-workhorse=gitlab
|
||||
qemu-system-x86_64=
|
||||
|
||||
# The services section contains restart policy for specific services.
|
||||
# valid policies are 'ignore', 'warn' and 'restart'.
|
||||
[services]
|
||||
libvirtd=ignore
|
||||
|
Reference in New Issue
Block a user