feat: various updates including nixspect removal, new aliases, and browser config
This commit is contained in:
parent
af6a3b6f2c
commit
d0738a9c1e
11 changed files with 8 additions and 50 deletions
|
@ -1,20 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
pkgs.writeShellScriptBin "check" # bash
|
||||
''
|
||||
check_nginx() {
|
||||
ssh apollo systemctl show nginx | grep '^ExecStart=' | grep -oP ' -c \K[^ ]+' | xargs cat
|
||||
}
|
||||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case "$1" in
|
||||
nginx)
|
||||
check_nginx
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
echo "Unrecognised parameter."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
''
|
Loading…
Add table
Add a link
Reference in a new issue