added more options to set restart policy on services and ignore certain

processes
This commit is contained in:
2019-04-09 20:56:55 +02:00
parent b60d5a4e5c
commit c16cdec7c4
2 changed files with 54 additions and 7 deletions

View File

@ -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