From 952d09e5f2fb0008b456f672a8b92fc928ef73aa Mon Sep 17 00:00:00 2001 From: PSYC Date: Sun, 12 Jun 2016 09:28:54 +0200 Subject: [PATCH] preset room to use with the 'remotor' utility from perl.psyc.eu --- place/remotor.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 place/remotor.c diff --git a/place/remotor.c b/place/remotor.c new file mode 100644 index 0000000..7b9c74d --- /dev/null +++ b/place/remotor.c @@ -0,0 +1,27 @@ +// this place is configured in a suitable way for receiving +// syslog events from the syslog2psyc tool in perlpsyc +// +#include + +#ifdef ADMINISTRATORS +# define PLACE_OWNED ADMINISTRATORS +#else +# echo place/syslog has no owners! +#endif + +#define NAME "remoTor" +#define PRIVATE +#define SECURE +#define RESTRICTED + +#define PLACE_HISTORY_EXPORT +#define HISTORY_GLIMPSE 7 +#define HISTORY_METHOD "_notice_tor" + +#ifdef BRAIN +# define ALLOW_EXTERNAL_FROM "psyc://psyced.org" +#else +# define ALLOW_EXTERNAL_FROM "psyc://localhost" +#endif + +#include