Our TeamCity is on a headless machine. For selenium tests we need display, so there is Xvfb installed. Xvfb server is running always, but I'd prefer it to be started before the build, and stopped after. Is it possible on TeamCity?
I don't want to put this into build scripts (maven) because build scripts are also run on developers machines, which don't need Xvbf.