Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
mina-unicorn_systemd
Advanced tools
Gem extension for mina-deploy to enable easy setup and deployment of unicorn application server managed via systemd.
This gem assumes that you
setup_user
to the name of a user who does.group :production do
gem 'unicorn'
end
group :development do
gem 'mina-unicorn_systemd', require: false # not necessary to load this when running rails
end
deploy.rb
to include 'mina/unicorn.rb'
. Make sure to add after nginx
require 'mina/nginx'
require 'mina/unicorn'
Manually run 'mina unicorn:setup'
or invoke from your own setup task to enable all one time tasks.
Once you are ready to enable unicorn run 'mina unicorn:enable'
to enable the systemd service (persists across reboots).
To manually restart unicorn after a deploy use 'mina unicorn:restart'
.
To change the unicorn systemd service template and/or the unicorn_conf.rb
, run 'mina unicorn:generate'
.
By default mina-unicorn_systemd
is running unicorn as a user service (systemd --user
), but the unicorn service template also includes settings for running as a system service. To enable this, add set :unicorn_system_or_user, 'system'
to the top of your deploy.rb
.
git checkout -b my-new-feature
)gem 'mina-unicorn_systemd', path: <your path>
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that mina-unicorn_systemd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.