mirror of
https://gitlab.com/Snogard/kaido.git
synced 2025-06-25 02:13:00 +02:00
added aria ng installer
This commit is contained in:
parent
a1839068d9
commit
f19ce128b3
25
src/commands/install/install-aria-ng.sh
Normal file
25
src/commands/install/install-aria-ng.sh
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
source /opt/kaido/src/libs/bash/lib.sh
|
||||
# docs https://hub.docker.com/r/p3terx/ariang
|
||||
|
||||
# setup
|
||||
imageName=docker.io/p3terx/ariang:latest
|
||||
containerName=aria-ng
|
||||
|
||||
|
||||
# pre install
|
||||
stop_and_remove_container $containerName
|
||||
|
||||
|
||||
# install
|
||||
echo "Creating new container"
|
||||
podman create \
|
||||
--name $containerName \
|
||||
--log-opt max-size=1m \
|
||||
-p 10103:6880/tcp \
|
||||
$imageName
|
||||
|
||||
|
||||
# systemd
|
||||
create_systemd_services $containerName
|
||||
systemctl --user enable --now $containerName
|
Loading…
x
Reference in New Issue
Block a user