# Appcafe services

Do not enable these services. PC-BSD/TrueOS has abandoned its GitHub repository that these services install softwares from, leaving it available for any random person to hijack.

Appcafe is one giant service in the Mewburn `rc` system. That is not the case here. Here, it comprises:

- one target: `appcafe`, which is what is enabled when one enables "`appcafe`"

- four distinct services: `appcafe-nginx`, `appcafe-dispatcher`, `appcafe-php-fpm`, and `appcafe-ssl-keygen`, which are wanted by that target when they are enabled

Additionally, in the Mewburn `rc` system Appcafe is configured by a subsystem-specific configuration file in `/usr/local/etc/appcafe.conf`. Here, the `rc.conf` conversion subsystem permits the Appcafe settings there to be overridden with normal `rc.conf` settings:

`appcafe_nginx_port`
  Overrides `port=` in `/usr/local/etc/appcafe.conf`.
`appcafe_nginx_ssl`
  Overrides `ssl=` in `/usr/local/etc/appcafe.conf`.

If you are looking for the `nginx.conf` used by the `appcafe-nginx` service, it is in that service's own service directory. The external configuration conversion subsystem copies it from the originals in `/usr/local/share/appcafe`, leaving them untouched, and edits in the `port` and `ssl` configuration.