diff --git a/manifest.toml b/manifest.toml index 0db42c9..1aea5e7 100644 --- a/manifest.toml +++ b/manifest.toml @@ -35,13 +35,14 @@ ram.runtime = "50M" [resources] - [resources.system_user] + # Do NOT handle system_user, deb package will + # [resources.system_user] [resources.install_dir] - [resources.data_dir] - # TODO: incus actual data dir - [resources.permissions] + # Do NOT handle /var/lib, deb package will + # [resources.data_dir] + # dir = "/var/lib/incus" [resources.apt.extras.incus] repo = "https://pkgs.zabbly.com/incus/stable bullseye main" diff --git a/scripts/install b/scripts/install index 2920f88..d208f34 100644 --- a/scripts/install +++ b/scripts/install @@ -17,11 +17,10 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Adding system configurations related to $app..." -# Create a dedicated NGINX config using the conf/nginx.conf template -# ynh_add_nginx_config - # Use logrotate to manage application logfile(s) -# ynh_use_logrotate +ynh_use_logrotate --logfile="/var/log/incus/incusd.log" + +yunohost service add "$app" --description="Incus system container and virtual machine manager" --log="/var/log/incus/incusd.log" #================================================= # APP INITIAL CONFIGURATION