vault backup: 2026-05-28 13:15:39
This commit is contained in:
Vendored
+2
-2
@@ -123,13 +123,13 @@
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "90 Library/Programming/Ruby - основы языка.md",
|
||||
"file": "AGENTS.md",
|
||||
"mode": "preview",
|
||||
"source": false,
|
||||
"backlinks": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "Ruby - основы языка"
|
||||
"title": "AGENTS"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
---
|
||||
status: seed
|
||||
type: concept
|
||||
tags: []
|
||||
created: 2025-12-17
|
||||
updated: 2026-05-27
|
||||
title:
|
||||
---
|
||||
`Cmnd_Alias PUMA_CONTROL = /usr/bin/mv /tmp/navigation_backend_puma_production.service /etc/systemd/system/, /usr/bin/mv /tmp/navigation_backend_puma_production.socket /etc/systemd/system/, /bin/systemctl daemon-reload, /bin/systemctl enable navigation_backend_puma_production, /bin/systemctl start navigation_backend_puma_production, /bin/systemctl stop navigation_backend_puma_production, /bin/systemctl restart navigation_backend_puma_production, /bin/systemctl enable navigation_backend_puma_production.socket, /bin/systemctl restart navigation_backend_sidekiq_production.service, /bin/systemctl restart navigation_backend_solid_queue_production.service, /bin/systemctl restart solid_queue`
|
||||
`deploy ALL = NOPASSWD: PUMA_CONTROL`
|
||||
|
||||
deploy - меняем на пользователя
|
||||
navigation_backend - на название приложения
|
||||
|
||||
а дальше cap production puma:install
|
||||
cap production deploy
|
||||
|
||||
это соответственно в /etc/sudoers
|
||||
Reference in New Issue
Block a user