well,
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s

This commit is contained in:
hogweed1
2026-11-10 02:11:32 +10:00
parent 4b5f47b0e7
commit bc70cea468
6 changed files with 46 additions and 5 deletions

View File

@@ -47,7 +47,4 @@ syntax enable
set background=dark set background=dark
" Load the cloned theme " Load the cloned theme
"let g:gruvbox_contrast_dark = 'hard' colorscheme challenger_deep
"colorscheme gruvbox
colorscheme challenger_deep
"colorscheme dogrun

View File

@@ -0,0 +1,24 @@
[Unit]
Description=Shared Compilation Cache Daemon
After=network.target
[Service]
Type=simple
# Укажите точный путь к бинарнику (узнать через `which sccache`)
ExecStart=/root/.cargo/bin/sccache
### TODO :: exec-stop ??
#Restart=always
#User=hogweed1
# Жестко прописываем все переменные, чтобы не зависеть от терминала
Environment="SCCACHE_BUCKET=sccache-bucket"
Environment="SCCACHE_ENDPOINT=https://s3.guaranteedstruggle.host"
Environment="AWS_ACCESS_KEY_ID=L5SAHFW2Y7WD9220WE9Y"
Environment="AWS_SECRET_ACCESS_KEY=wRAlYYpSdYZ6YBWBMPrMMunmlntHnCU04lD3bpD5"
Environment="SCCACHE_S3_ENABLE_VIRTUAL_HOST_STYLE=false"
Environment="SCCACHE_REGION=us-east-1"
Environment="SCCACHE_START_SERVER=1"
Environment="SCCACHE_NO_DAEMON=1"
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1 @@
pgrep -f zsh | xargs -I {} sh -c 'if [ "$(ps -o ppid= -p {})" -eq 1 ]; then kill {}; fi'

View File

@@ -8,8 +8,11 @@
name: name:
- git - git
- curl - curl
- socat
state: present state: present
#### TODO :: mkdir -p /etc/angie/ssl/$subdomain.guaranteedstruggle.host
- name: Create SSL directory for Angie - name: Create SSL directory for Angie
ansible.builtin.file: ansible.builtin.file:
path: "{{ angie_ssl_dir }}" path: "{{ angie_ssl_dir }}"

View File

@@ -40,6 +40,16 @@
mode: '0644' mode: '0644'
tags: [always] tags: [always]
- name: "[{{ current_user }}] Генерируем итоговый .zshrc из шаблона"
copy:
src: ../../../files/zsh/rm-orphaned-zshes.sh
dest: "/etc/profile.d/rm-orphaned-zshes.sh"
owner: root
group: root
mode: '0644'
tags: [always]
- name: Накат ZSH и плагинов для каждого пользователя - name: Накат ZSH и плагинов для каждого пользователя
include_tasks: user-tasks.yml include_tasks: user-tasks.yml
loop: "{{ zsh_users }}" loop: "{{ zsh_users }}"

View File

@@ -117,4 +117,10 @@
- name: Restart SSH - name: Restart SSH
service: service:
name: sshd name: sshd
state: restarted state: restarted
##### TODO :: добавить этих в конфиг для ликвидации висящих после ухода-компа-в-сон-сессий-ссшш:
### Проверять клиента каждые 30 секунд
#ClientAliveInterval 30
## Если клиент не ответил 2 раза подряд — разорвать соединение
#ClientAliveCountMax 2