summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei.gherzan@huawei.com>2021-02-04 11:19:56 +0000
committerKhem Raj <raj.khem@gmail.com>2021-02-04 09:26:47 -0800
commit8a0d21a5cb436bb44d943284a4da99291cab562b (patch)
tree17990dd188dcda0c8d82af2a49be9ba935b6e961
parent974fed367e11ab453496192386df620acfb04697 (diff)
downloadmeta-openembedded-8a0d21a5cb436bb44d943284a4da99291cab562b.tar.gz
gateone: Cleanup assets for removed recipe
We removed this recipe in 809de9b0572b8ea234af6141f73deaf2010bc54e but the recipe related files (for example configuration) were left behind. This patch cleans that up. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-python/recipes-connectivity/gateone/gateone/80oe.conf.in24
-rw-r--r--meta-python/recipes-connectivity/gateone/gateone/gateone-avahi.service10
-rw-r--r--meta-python/recipes-connectivity/gateone/gateone/gateone-init.in47
-rw-r--r--meta-python/recipes-connectivity/gateone/gateone/gateone.service.in10
4 files changed, 0 insertions, 91 deletions
diff --git a/meta-python/recipes-connectivity/gateone/gateone/80oe.conf.in b/meta-python/recipes-connectivity/gateone/gateone/80oe.conf.in
deleted file mode 100644
index 4503da422..000000000
--- a/meta-python/recipes-connectivity/gateone/gateone/80oe.conf.in
+++ /dev/null
@@ -1,24 +0,0 @@
1// Some custom Gate One settings for OpenEmbedded
2{
3 "*": {
4 "gateone": { // These settings apply to all of Gate One
5 "log_file_prefix": "@localstate@/log/gateone.log", // default would be /var/log/gateone/gateone.log
6 "log_file_max_size": 5242880, // 5 megabyte logs for OE by default (default would normally be 100Mb)
7 "log_file_num_backups": 2, // Default is normally 10
8 "origins": ["*"], // Every device has a unique origin
9 "logging": "info",
10 "pid_file": "/run/gateone.pid",
11 "session_dir": "/tmp/gateone",
12 "user_dir": "@localstate@/lib/gateone/users"
13 },
14 "terminal": {
15 // Disabling session logging for embedded devices is a good idea (limited/slow storage)
16 "session_logging": false,
17 "syslog_session_logging": false
18// "commands": {
19// // For some reason this doesn't work (never asks for the password)
20// "login": "setsid /bin/login" // Normally this would emulate logging into the host console
21// }
22 }
23 }
24}
diff --git a/meta-python/recipes-connectivity/gateone/gateone/gateone-avahi.service b/meta-python/recipes-connectivity/gateone/gateone/gateone-avahi.service
deleted file mode 100644
index 0f613d18e..000000000
--- a/meta-python/recipes-connectivity/gateone/gateone/gateone-avahi.service
+++ /dev/null
@@ -1,10 +0,0 @@
1<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
2<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
3
4<service-group>
5 <name replace-wildcards="yes">GateOne on %h</name>
6 <service>
7 <type>_https._tcp</type>
8 <port>443</port>
9 </service>
10</service-group>
diff --git a/meta-python/recipes-connectivity/gateone/gateone/gateone-init.in b/meta-python/recipes-connectivity/gateone/gateone/gateone-init.in
deleted file mode 100644
index 86d655c94..000000000
--- a/meta-python/recipes-connectivity/gateone/gateone/gateone-init.in
+++ /dev/null
@@ -1,47 +0,0 @@
1#!/bin/sh -e
2### BEGIN INIT INFO
3# Provides: gateone
4# Required-Start: networking
5# Default-Start: 2 3 4 5
6# Default-Stop: 0 1 6
7# Short-Description: Gateone HTML5 ssh client
8# Description: Gateone HTML5 terminal emulator and SSH client.
9### END INIT INFO
10
11. /etc/init.d/functions
12
13NAME=gateone
14DAEMON=@bindir@/gateone
15PIDFILE=/run/gateone.pid
16WORKDIR=@localstate@/lib/gateone
17
18do_start() {
19 cd $WORKDIR
20 @bindir@/python $DAEMON > /dev/null 2>&1 &
21 cd $OLDPWD
22}
23
24do_stop() {
25 kill -TERM `cat $PIDFILE`
26}
27
28case "$1" in
29 start)
30 echo "Starting gateone"
31 do_start
32 ;;
33 stop)
34 echo "Stopping gateone"
35 do_stop
36 ;;
37 restart|force-reload)
38 echo "Restart gateone"
39 do_stop
40 sleep 1
41 do_start
42 ;;
43 *)
44 echo "Usage: $0 {start|stop|restart|force-reload}" >&2
45 exit 1
46 ;;
47esac
diff --git a/meta-python/recipes-connectivity/gateone/gateone/gateone.service.in b/meta-python/recipes-connectivity/gateone/gateone/gateone.service.in
deleted file mode 100644
index 44667275a..000000000
--- a/meta-python/recipes-connectivity/gateone/gateone/gateone.service.in
+++ /dev/null
@@ -1,10 +0,0 @@
1[Unit]
2Description=GateOne daemon
3ConditionPathExists=|@localstate@/lib/gateone
4
5[Service]
6WorkingDirectory=@localstate@/lib/gateone
7ExecStart=@bindir@/python @bindir@/gateone
8
9[Install]
10WantedBy=multi-user.target