From 88bee91f68066aa58f458eb89511af7cfaaa543c Mon Sep 17 00:00:00 2001 From: Georg Gadinger Date: Thu, 6 Jan 2022 21:13:43 +0100 Subject: [PATCH] remove some files --- .ruby-gemset | 1 - docs/ass.rb | 33 ------------------------- docs/justask | 63 ----------------------------------------------- public/humans.txt | 9 ------- 4 files changed, 106 deletions(-) delete mode 100644 .ruby-gemset delete mode 100644 docs/ass.rb delete mode 100755 docs/justask delete mode 100644 public/humans.txt diff --git a/.ruby-gemset b/.ruby-gemset deleted file mode 100644 index 19a686c8..00000000 --- a/.ruby-gemset +++ /dev/null @@ -1 +0,0 @@ -retrospring diff --git a/docs/ass.rb b/docs/ass.rb deleted file mode 100644 index 8e2043df..00000000 --- a/docs/ass.rb +++ /dev/null @@ -1,33 +0,0 @@ -# This ASS runscript starts justask in development mode on a FreeBSD host. -# (c) 2015 nilsding -# This file is a modification of https://github.com/retrospring/ass/blob/master/scripts/example-rails.rb - -Runscript.new do - before_start do - # set Rails environment to development - setenv :RAILS_ENV, 'development' - - # install bundle - sh %|bundle install --without production mysql| - - # edit and copy example justask config - sh %|sed -i .old -e 's/justask.rrerr.net/justask.local/g' -e 's/"Anonymous"/"Arno Nym"/g' -e 's/enabled: tru/enabled: fals/g' ./config/justask.yml.example| - sh %|cp ./config/justask.yml.example ./config/justask.yml| - - # edit and copy postgres database config - sh %|sed -i .old -e 's/_production/_producktion/g' -e 's/justask_development/ja_devel/g' -e 's/username: postgres/username: nilsding/g' ./config/database.yml.postgres| - sh %|cp ./config/database.yml.postgres ./config/database.yml| - - # migrate the database - sh %|bundle exec rake db:migrate| - end - - start do - sh %|bundle exec rails server -b 127.0.0.1 -p 16933|, pid: :rails, wait: false - end - - stop do - unset :RAILS_ENV - kill :rails, with: :SIGINT - end -end diff --git a/docs/justask b/docs/justask deleted file mode 100755 index a555e19a..00000000 --- a/docs/justask +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -. /etc/rc.subr - -name=justask -rcvar=justask_enable - -extra_commands="status" -start_precmd="${name}_prestart" -start_cmd="${name}_start" -stop_cmd="${name}_stop" -status_cmd="${name}_status" - -load_rc_config $name -: ${justask_enable:=no} -: ${justask_user=justask} -: ${justask_tmux_session_name=justask} -: ${justask_tmux_window_name=justask} - -justask_prestart() -{ - su -l "$justask_user" -c "exec sh -c 'tmux list-panes -st $justask_tmux_session_name -F \"#{pane_pid}\" >/dev/null 2>&1'" - if [ $? -eq 0 ]; then - echo "justask already running? pane $justask_tmux_session_name exists" - return 1 - fi - return 0 -} - -justask_status() -{ - su -l "$justask_user" -c "exec sh -c 'tmux list-panes -st $justask_tmux_session_name -F \"#{pane_pid}\" >/dev/null 2>&1'" - if [ $? -eq 0 ]; then - echo "justask is running" - return 0 - fi - echo "justask is not running" - return 1 -} - -justask_start() -{ - echo -n "Starting justask: " - su -l "$justask_user" -c "exec tmux new-session -d -s $justask_tmux_session_name -n $justask_tmux_window_name -c /home/justask '/usr/local/bin/bash /usr/home/justask/start.sh'" - if [ $? -eq 0 ]; then - printf "\033[32;1mok\033[0m\n" - else - printf "\033[31;1mfailed\033[0m\n" - fi -} - -justask_stop() -{ - echo -n "Stopping justask: " - su -l "$justask_user" -c "exec sh -c 'tmux list-panes -st $justask_tmux_session_name -F \"#{pane_pid}\"' | xargs -t kill" - if [ $? -eq 0 ]; then - printf "\033[32;1mok\033[0m\n" - else - printf "\033[31;1mfailed\033[0m\n" - fi -} - -run_rc_command $1 diff --git a/public/humans.txt b/public/humans.txt deleted file mode 100644 index f1f01b0d..00000000 --- a/public/humans.txt +++ /dev/null @@ -1,9 +0,0 @@ -/* TEAM */ - - Georg G. (nilsding [at] nilsding [dot] org) - Site: https://nilsding.org - Location: Linz, Austria - - Andreas N. (pixeldesu [at] outlook [dot] com) - Site: https://pixelde.su - Location: Germany