Skip to content

Commit

Permalink
Add SBS login monitoring and timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvanes committed Feb 27, 2024
1 parent df13f33 commit 0660c01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion roles/sram_monitor/templates/sram-monitor.conf.j2
Original file line number Diff line number Diff line change
@@ -1 +1 @@
UserParameter=sram.monitor[*],cat {{sram_monitor_dir}}/status/$1.log
UserParameter=sram.monitor[*],{{sram_monitor_dir}}/getmonitor.py $1 $2
8 changes: 5 additions & 3 deletions start-vm
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ while getopts -- '-:h' OPT; do
case "$OPT" in
h | help ) echo "Start SRAM VMs for local testing"
echo "Options:"
echo " --ci : for use in CI runs"
echo " --skip-ansible : only bring up VMs, skip Ansible run"
echo " --skip-vm : skip bringing up VMs, only run Ansible"
echo " --ci: for use in CI runs"
echo " --skip-ansible: only bring up VMs, skip Ansible run"
echo " --skip-vm: skip bringing up VMs, only run Ansible"
echo " --container: Use container-in-container based deploy"
echo " --no-mitogen: Disable use of mitogen"
exit 0
;;
ci ) CI_OPTION="--ci"
Expand Down

0 comments on commit 0660c01

Please sign in to comment.