diff options
| author | EuAndreh <eu@euandre.org> | 2024-08-24 08:51:27 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2024-08-24 08:51:27 -0300 |
| commit | 20fcfb97ac0d2324bdcbccbf433e33540b85f101 (patch) | |
| tree | c923d7f3a9c9039ca516782fb9800c609971272a /Makefile | |
| parent | Makefile: Simplify building system.scm.sentinel (diff) | |
| download | asami-20fcfb97ac0d2324bdcbccbf433e33540b85f101.tar.gz asami-20fcfb97ac0d2324bdcbccbf433e33540b85f101.tar.xz | |
Makefile: Adjust "logs" and "all-logs" to subdirectory structure
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -82,12 +82,12 @@ $(all-secrets.txt.gpg): ## Prints the latest 500 lines of the application and keeps tailing it. logs: - ssh $(TLD) tail -fn500 /var/log/$(APP).log + ssh $(TLD) tail -fn500 /var/log/$(APP)/$(APP).log ## Print *all* logs available on the server. all-logs: - ssh $(TLD) 'nicely cat /var/log/$(APP).log.* && \ - nicely gzip -c /var/log/$(APP).log' | gunzip + ssh $(TLD) 'nicely cat /var/log/$(APP)/$(APP).log.* && \ + nicely gzip -c /var/log/$(APP)/$(APP).log' | gunzip ## Decrypt $(prod-secrets.txt) in `src/secrets/` and put them in their |
