rename ass

This commit is contained in:
Oliver
2025-08-10 17:43:04 -03:00
parent 73d9587e1d
commit 4c93fa132f
20 changed files with 447 additions and 29 deletions

15
app/etc/.bashrc Normal file
View File

@@ -0,0 +1,15 @@
# ~/.bashrc
echo "command: mount_volume <volume>"
echo "alias: set_prod"
export hosts_file="/app/hosts.dev"
export PS1="\[\e[32m\]\h:\w\$\[\e[0m\] "
df -h .
set_prod() {
export HOSTS_FILE="/app/hosts.all"
echo "HOSTS_FILE set to: $HOSTS_FILE"
}

View File

@@ -0,0 +1,25 @@
#!/sbin/openrc-run
name="4server-api"
description="4server API Service"
command="/4server/sbin/api"
command_args=""
pidfile="/run/${RC_SVCNAME}.pid"
command_background="yes"
if [ -f /etc/od8n ]; then
. /etc/od8n
export $(cut -d= -f1 /etc/od8n)
fi
output_log="/4server/data/api.log"
error_log="/4server/data/api.log"
depend() {
need net
use logger dns
after firewall
}