dotconfig/sv: add
This commit is contained in:
parent
2e05501c92
commit
f129f83f6d
26 changed files with 159 additions and 0 deletions
5
dotconfig/sv/smarthome/conf
Executable file
5
dotconfig/sv/smarthome/conf
Executable file
|
@ -0,0 +1,5 @@
|
|||
name="smarthome"
|
||||
pod_location="${HOME}/.config/pods/smarthome"
|
||||
bin_location="${HOME}/.local/bin"
|
||||
command="/usr/bin/podman"
|
||||
command_args="--network=pasta --replace"
|
6
dotconfig/sv/smarthome/finish
Executable file
6
dotconfig/sv/smarthome/finish
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
. ./conf
|
||||
|
||||
exec 2>&1
|
||||
exec $command kube down ${pod_location}/${name}-pod.yml
|
7
dotconfig/sv/smarthome/run
Executable file
7
dotconfig/sv/smarthome/run
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
. ./conf
|
||||
|
||||
exec 2>&1
|
||||
$command kube play $command_args ${pod_location}/${name}-pod.yml
|
||||
exec ${bin_location}/checkpod
|
Loading…
Add table
Add a link
Reference in a new issue