mirror of
https://github.com/YunoHost-Apps/lxd_ynh.git
synced 2024-09-03 19:45:53 +02:00
commit
2546a09b0d
8 changed files with 13 additions and 27 deletions
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://golang.org/dl/go1.16.linux-armv6l.tar.gz
|
||||
SOURCE_SUM=d1d9404b1dbd77afa2bdc70934e10fbfcf7d785c372efc29462bb7d83d0a32fd
|
||||
SOURCE_URL=https://golang.org/dl/go1.16.3.linux-armv6l.tar.gz
|
||||
SOURCE_SUM=0dae30385e3564a557dac7f12a63eedc73543e6da0f6017990e214ce8cc8797c
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://golang.org/dl/go1.16.linux-arm64.tar.gz
|
||||
SOURCE_SUM=3770f7eb22d05e25fbee8fb53c2a4e897da043eb83c69b9a14f8d98562cd8098
|
||||
SOURCE_URL=https://golang.org/dl/go1.16.3.linux-arm64.tar.gz
|
||||
SOURCE_SUM=566b1d6f17d2bc4ad5f81486f0df44f3088c3ed47a3bec4099d8ed9939e90d5d
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://golang.org/dl/go1.16.linux-386.tar.gz
|
||||
SOURCE_SUM=ea435a1ac6d497b03e367fdfb74b33e961d813883468080f6e239b3b03bea6aa
|
||||
SOURCE_URL=https://golang.org/dl/go1.16.3.linux-386.tar.gz
|
||||
SOURCE_SUM=48b2d1481db756c88c18b1f064dbfc3e265ce4a775a23177ca17e25d13a24c5d
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://golang.org/dl/go1.16.linux-amd64.tar.gz
|
||||
SOURCE_SUM=013a489ebb3e24ef3d915abe5b94c3286c070dfe0818d5bca8108f1d6e8440d2
|
||||
SOURCE_URL=https://golang.org/dl/go1.16.3.linux-amd64.tar.gz
|
||||
SOURCE_SUM=951a3c7c6ce4e56ad883f97d9db74d3d6d80d5fec77455c6ada6c1f7ac4776d2
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/lxc/lxd/releases/download/lxd-4.12/lxd-4.12.tar.gz
|
||||
SOURCE_SUM=3c5b87eb20e49f11084afb29224b6bad7a69bbdd8eaa99941c106149234bf1e1
|
||||
SOURCE_URL=https://github.com/lxc/lxd/releases/download/lxd-4.13/lxd-4.13.tar.gz
|
||||
SOURCE_SUM=8efd95ad4023e0d197490deb169512977ce81e3560cfd5dd93511ae438405970
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -33,13 +33,6 @@ ynh_script_progression --message="Storing installation settings..."
|
|||
|
||||
#=================================================
|
||||
# STANDARD MODIFICATIONS
|
||||
#=================================================
|
||||
# OPEN A PORT
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring firewall..."
|
||||
|
||||
ynh_exec_warn_less yunohost firewall allow --no-upnp Both 67
|
||||
|
||||
#=================================================
|
||||
# INSTALL DEPENDENCIES
|
||||
#=================================================
|
||||
|
@ -137,7 +130,7 @@ root:100000:65536" | tee -a /etc/subuid /etc/subgid
|
|||
#=================================================
|
||||
ynh_script_progression --message="Integrating service in YunoHost..."
|
||||
|
||||
yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports=67
|
||||
yunohost service add $app --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
|
@ -38,13 +38,6 @@ ynh_script_progression --message="Recreating the dedicated system user..."
|
|||
# Create the dedicated user (if not existing)
|
||||
ynh_system_user_create --username=$app
|
||||
|
||||
#=================================================
|
||||
# OPEN A PORT
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring firewall..."
|
||||
|
||||
ynh_exec_warn_less yunohost firewall allow --no-upnp Both 67
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC RESTORATION
|
||||
#=================================================
|
||||
|
@ -69,7 +62,7 @@ systemctl enable $app.service --quiet
|
|||
#=================================================
|
||||
ynh_script_progression --message="Integrating service in YunoHost..."
|
||||
|
||||
yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports=67
|
||||
yunohost service add $app --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# RESTORE VARIOUS FILES
|
||||
|
|
|
@ -149,7 +149,7 @@ root:100000:65536" | tee -a /etc/subuid /etc/subgid
|
|||
#=================================================
|
||||
ynh_script_progression --message="Integrating service in YunoHost..."
|
||||
|
||||
yunohost service add $app --log="/var/log/$app/$app.log" --needs_exposed_ports=67
|
||||
yunohost service add $app --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
Loading…
Reference in a new issue