Files @ d11fdaf3e279
Branch filter:

Location: libtransport.git/include/Swiften/TLS/OpenSSL/OpenSSLServerContextFactory.h

Sebastian Krzyszkowiak
systemd: wait for network-online.target and add WantedBy=multi-user.target

Thanks to that, "systemctl enable spectrum2" does what expected, that is
makes Spectrum2 start on boot. Also, network.target doesn't tell anything
meaningful - it's just that the network stack is available.
Adding network-online.target makes sure that the network interfaces are up
before starting Spectrum2.
/*
 * Copyright (c) 2010 Remko Tronçon
 * Licensed under the GNU General Public License v3.
 * See Documentation/Licenses/GPLv3.txt for more information.
 */

#pragma once

#include "Swiften/TLS/TLSServerContextFactory.h"

namespace Swift {
	class OpenSSLServerContextFactory : public TLSServerContextFactory {
		public:
			bool canCreate() const;
			virtual TLSServerContext* createTLSServerContext();
	};
}