Mercurial Hosting > luan
changeset 2030:ee75b5c12272 default tip
finish rename
| author | Franklin Schmidt <fschmidt@gmail.com> | 
|---|---|
| date | Fri, 31 Oct 2025 09:02:10 -0600 | 
| parents | 5fa5a7efc936 | 
| children | |
| files | backup/backup_server.luan backup/stop.sh host/check_app.sh | 
| diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] | 
line wrap: on
 line diff
--- a/backup/backup_server.luan Thu Oct 30 21:25:37 2025 -0700 +++ b/backup/backup_server.luan Fri Oct 31 09:02:10 2025 -0600 @@ -43,7 +43,7 @@ local Logging = require "luan:logging/Logging.luan" local logger = Logging.logger "backup_server" -logger.info("log_to_console "..log_to_console) +-- logger.info("log_to_console "..log_to_console) local dir = File.new("backups") local server = BackupServer.new(dir)
--- a/backup/stop.sh Thu Oct 30 21:25:37 2025 -0700 +++ b/backup/stop.sh Fri Oct 31 09:02:10 2025 -0600 @@ -1,5 +1,5 @@ #!/bin/bash -LUAN_PIDS=$(ps ax | awk '{if($0~"(backup_)?[s]erver.luan"){print $1}}'); +LUAN_PIDS=$(ps ax | awk '{if($0~"backup_[s]erver.luan"){print $1}}'); kill -TERM $LUAN_PIDS; exit 0;
--- a/host/check_app.sh Thu Oct 30 21:25:37 2025 -0700 +++ b/host/check_app.sh Fri Oct 31 09:02:10 2025 -0600 @@ -3,7 +3,7 @@ export PATH="$PATH:/usr/local/bin"; function getPids() { - PIDS=$(ps ax | awk '{if($0~"[r]un(_host)?.luan"){print $1}}'); + PIDS=$(ps ax | awk '{if($0~"[r]un_host.luan"){print $1}}'); } function checkStopped() {
