Skip to content

Conversation

@oliveromahony
Copy link
Contributor

@oliveromahony oliveromahony commented Nov 2, 2022

Proposed changes

Describe the use case and detail of the change. If this PR addresses an issue on GitHub, make sure to include a link to that issue using one of the supported keywords here in this description (not in the title of the PR).

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • I have updated any relevant documentation (README.md)

Output:

sudo apt-get install -f -y ./nginx-agent-2.17.0-SNAPSHOT-3586ff7.deb 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'nginx-agent' instead of './nginx-agent-2.17.0-SNAPSHOT-3586ff7.deb'
The following NEW packages will be installed:
  nginx-agent
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/12.4 MB of archives.
After this operation, 23.9 MB of additional disk space will be used.
Get:1 /home/vagrant/host_user_homedir/Development/go/agent/build/nginx-agent-2.17.0-SNAPSHOT-3586ff7.deb nginx-agent amd64 2.17.0 [12.4 MB]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package nginx-agent.
(Reading database ... 79697 files and directories currently installed.)
Preparing to unpack .../nginx-agent-2.17.0-SNAPSHOT-3586ff7.deb ...

 --- NGINX Agent Package Installer --- 

 --- Will install the NGINX Agent in 5 seconds ---
 --- Install log is outputted to: /tmp/agent-install.log
Sudo permissions detected
Updating /etc/nginx-agent/agent-dynamic.conf ...

/etc/nginx-agent/nginx-agent.conf does not exist exiting.
Unpacking nginx-agent (2.17.0) ...
Setting up nginx-agent (2.17.0) ...
/usr/bin/systemctl
PostInstall: Reading NGINX systemctl unit file for user information
/run/nginx.pid does not exist
No NGINX user found
PostInstall: Reading NGINX process information to determine NGINX user
No NGINX user found
WARNING: No NGINX processes detected.
PostInstall: Reading NGINX process information to determine NGINX user
No NGINX worker user found
WARNING: No NGINX worker processes detected.
Sudo permissions detected
Found nginx-agent /usr/bin/nginx-agent
/usr/bin/systemctl
PostInstall: Adding nginx-agent group nginx-agent
groupadd: group 'nginx-agent' already exists
PostInstall: Adding NGINX / agent user root to group nginx-agent
PostInstall: Creating NGINX Agent run directory 
PostInstall: Modifying group ownership of NGINX Agent run directory 
/usr/bin/systemctl
PostInstall: Modifying NGINX Agent unit file with correct locations and user information
PostInstall: Reload the service unit from disk
PostInstall: Unmask the service unit from disk
PostInstall: Set the preset flag for the service unit
Created symlink /etc/systemd/system/multi-user.target.wants/nginx-agent.service → /etc/systemd/system/nginx-agent.service.
PostInstall: Set the enabled flag for the service unit
----------------------------------------------------------------------
 NGINX Agent package has been successfully installed.

 Please follow the next steps to start the software:
    sudo systemctl start nginx-agent

 Configuration settings can be adjusted here:
    /etc/nginx-agent/nginx-agent.conf

----------------------------------------------------------------------
vagrant@devenv-agent:~/host_user_homedir/Development/go/agent/build$ sudo nginx-agent --version
nginx-agent version v2.17.0-3586ff7

@oliveromahony oliveromahony changed the title Snapshot version for local pacakge Snapshot version for local package Nov 2, 2022
@oliveromahony oliveromahony merged commit a4c4594 into main Nov 2, 2022
@oliveromahony oliveromahony deleted the sanpshot_version branch November 2, 2022 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants