Sha256: afba0b3ccc50a38c04392d6c6b1cec49ba093732bd66f54a508aa37ace115b14
Contents?: true
Size: 830 Bytes
Versions: 813
Compression:
Stored size: 830 Bytes
Contents
[Unit] Description=RPC interface to the Metasploit Framework [Service] User=root RemainAfterExit=yes ExecStart=/bin/bash --login -c "msf_ruby_v=$(cat /opt/metasploit-framework-dev/.ruby-version) && source /etc/profile.d/rvm.sh && rvm use ruby-$msf_ruby_v@metasploit-framework && $PWN_ROOT/packer/daemons/msfrpcd.rb --action start" ExecReload=/bin/bash --login -c "msf_ruby_v=$(cat /opt/metasploit-framework-dev/.ruby-version) && source /etc/profile.d/rvm.sh && rvm use ruby-$msf_ruby_v@metasploit-framework && $PWN_ROOT/packer/daemons/msfrpcd.rb --action reload" ExecStop=/bin/bash --login -c "msf_ruby_v=$(cat /opt/metasploit-framework-dev/.ruby-version) && source /etc/profile.d/rvm.sh && rvm use ruby-$msf_ruby_v@metasploit-framework && $PWN_ROOT/packer/daemons/msfrpcd.rb --action stop" [Install] WantedBy=multi-user.target
Version data entries
813 entries across 813 versions & 1 rubygems