mirror of
https://codeberg.org/Mo8it/server_dotfiles.git
synced 2024-09-17 18:51:17 +00:00
Set local timezone
This commit is contained in:
parent
cc9f8df73f
commit
ae77adf1ed
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,10 @@ set -p PATH "$HOME/.cargo/bin"
|
|||
function podman-default-create -w podman
|
||||
set -l container_name $argv[1]
|
||||
|
||||
if systemctl --user is-enabled container-$container_name
|
||||
systemctl --user disable --now container-$container_name
|
||||
end
|
||||
|
||||
if podman container exists $container_name
|
||||
podman stop $container_name
|
||||
end
|
||||
|
@ -12,6 +16,7 @@ function podman-default-create -w podman
|
|||
podman create \
|
||||
--name $container_name \
|
||||
--label "io.containers.autoupdate=registry" \
|
||||
--tz local \
|
||||
$argv[2..]
|
||||
|
||||
set -l old_pwd (pwd)
|
||||
|
|
Loading…
Reference in a new issue