From 177df332274d2cab9c12fb7ffaed7785f1220506 Mon Sep 17 00:00:00 2001 From: olenepal-admin <54300561+olenepal-admin@users.noreply.github.com> Date: Thu, 24 Mar 2022 11:41:35 +0545 Subject: [PATCH] `treehouses services epaath` for arm (#2270) --- README.md | 1 + modules/help.sh | 1 + package.json | 4 +-- services/install-epaath.sh | 74 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 78 insertions(+), 2 deletions(-) create mode 100644 services/install-epaath.sh diff --git a/README.md b/README.md index 21b732a74f..91630f1d0e 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,7 @@ services executes the given command on the spec [rutorrent] Rutorrent is a popular rtorrent client with a webui for ease of use [webssh] Webssh is a simple web application to be used as an ssh client to connect to your ssh servers [sysmon] Sysmon is an intuitive system performance monitoring and task management tool for servers + [epaath] Epaath is an interactive educational activity tor [list|ports|add|delete|deleteall] deals with services on tor hidden network [start|stop|destroy|notice] [status|refresh] diff --git a/modules/help.sh b/modules/help.sh index f3ee201f0e..6fc2891783 100644 --- a/modules/help.sh +++ b/modules/help.sh @@ -101,6 +101,7 @@ services executes the given command on the spec [rutorrent] Rutorrent is a popular rtorrent client with a webui for ease of use [webssh] Webssh is a simple web application to be used as an ssh client to connect to your ssh servers [sysmon] Sysmon is an intuitive system performance monitoring and task management tool for servers + [epaath] Epaath is an interactive educational activity tor [list|ports|add|delete|deleteall] deals with services on tor hidden network [start|stop|destroy|notice] [status|refresh] diff --git a/package.json b/package.json index 754717c6e5..e1853b3402 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@treehouses/cli", - "version": "1.26.4", + "version": "1.26.5", "remote": "4000", "description": "Thin command-line interface for Raspberry Pi low level configuration.", "main": "cli.sh", @@ -28,7 +28,7 @@ "grocy", "kolibri", "mongodb", "moodle", "netdata", "nextcloud", "ntopng", "planet", "invoiceninja", "librespeed", "portainer", "privatebin", "mastodon", "couchdb", "mariadb", "seafile", "minetest", "dokuwiki", "transmission", "cloud9", "bookstack", - "piwigo", "jellyfin", "pylon", "rutorrent", "webssh", "sysmon" + "piwigo", "jellyfin", "pylon", "rutorrent", "webssh", "sysmon", "epaath" ], "author": { "name": "OLE treehouses team", diff --git a/services/install-epaath.sh b/services/install-epaath.sh new file mode 100644 index 0000000000..771cf71e83 --- /dev/null +++ b/services/install-epaath.sh @@ -0,0 +1,74 @@ +#!/bin/bash + +function install { + # create service directory + mkdir -p /srv/epaath + + # create yml(s) + { + echo "version: '3'" + echo "services:" + echo " epaath:" + echo " image: olenepal/epaath:arm" + echo " ports:" + echo " - 8100:80" + } > /srv/epaath/epaath.yml + + # add autorun + { + echo "epaath_autorun=true" + echo + echo "if [ \"\$_autorun\" = true ]; then" + echo " treehouses services epaath up" + echo "fi" + echo + echo + } > /srv/epaath/autorun +} + +# environment var +function uses_env { + echo false +} + +# add supported arch(es) +function supported_arches { + echo "armv7l" +} + +# add port(s) +function get_ports { + echo "8100" +} + +# add size (in MB) +function get_size { + echo "5555" +} + +# add description +function get_description { + echo "Epaath is educational activity \"epaath\" " +} + +# add info +function get_info { + echo + echo "E-Paath is educationl activity from grade 1 to 8" +} + +# add svg icon +function get_icon { + cat < + + + + + + + + + +EOF +}