From 1a22229c795f4fff81049ff072c4349f28632b6f Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Thu, 1 Nov 2018 21:09:55 +0100 Subject: [PATCH] Nouveau fichiers --- SOURCES/LibrePC.desktop | 19 +++++++++++++++++++ SOURCES/journald.conf | 33 +++++++++++++++++++++++++++++++++ SOURCES/tunnel | 5 +++++ 3 files changed, 57 insertions(+) create mode 100755 SOURCES/LibrePC.desktop create mode 100644 SOURCES/journald.conf create mode 100755 SOURCES/tunnel diff --git a/SOURCES/LibrePC.desktop b/SOURCES/LibrePC.desktop new file mode 100755 index 0000000..f1ee91b --- /dev/null +++ b/SOURCES/LibrePC.desktop @@ -0,0 +1,19 @@ +[Desktop Entry] +Comment[fr]= +Comment= +Exec=/usr/local/bin/tunnel.sh +GenericName[fr]= +GenericName= +Icon=/usr/share/icons/hardware_configuration_section.png +MimeType= +Name[fr]=Libre PC +Name=Libre PC +Path= +StartupNotify=true +Terminal=true +TerminalOptions=\s--noclose +Type=Application +X-DBUS-ServiceName= +X-DBUS-StartupType=none +X-KDE-SubstituteUID=false +X-KDE-Username= diff --git a/SOURCES/journald.conf b/SOURCES/journald.conf new file mode 100644 index 0000000..7a77697 --- /dev/null +++ b/SOURCES/journald.conf @@ -0,0 +1,33 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# +# See journald.conf(5) for details + +[Journal] +#Storage=auto +Compress=yes +#Seal=yes +#SplitMode=login +#SyncIntervalSec=5m +#RateLimitInterval=30s +#RateLimitBurst=1000 +SystemMaxUse=200M +SystemKeepFree=1G +SystemMaxFileSize=200M +RuntimeMaxUse=200M +RuntimeKeepFree=300M +RuntimeMaxFileSize=200M +#MaxRetentionSec= +MaxFileSec=15days +ForwardToSyslog=yes +#ForwardToKMsg=no +ForwardToConsole=yes +TTYPath=/dev/tty12 +#MaxLevelStore=debug +#MaxLevelSyslog=debug +#MaxLevelKMsg=notice +#MaxLevelConsole=info diff --git a/SOURCES/tunnel b/SOURCES/tunnel new file mode 100755 index 0000000..db0c147 --- /dev/null +++ b/SOURCES/tunnel @@ -0,0 +1,5 @@ +#!/bin/sh + +ssh -N -f -R 6000:localhost:22 ssh@ +#ssh -N -f -R 6001:localhost:5900 ssh@82.225.210.60 'x11vnc -localhost -display :0' +