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

Version Path
pwn-0.5.236 etc/systemd/msfrpcd.service
pwn-0.5.235 etc/systemd/msfrpcd.service
pwn-0.5.234 etc/systemd/msfrpcd.service
pwn-0.5.233 etc/systemd/msfrpcd.service
pwn-0.5.232 etc/systemd/msfrpcd.service
pwn-0.5.231 etc/systemd/msfrpcd.service
pwn-0.5.230 etc/systemd/msfrpcd.service
pwn-0.5.229 etc/systemd/msfrpcd.service
pwn-0.5.228 etc/systemd/msfrpcd.service
pwn-0.5.227 etc/systemd/msfrpcd.service
pwn-0.5.226 etc/systemd/msfrpcd.service
pwn-0.5.225 etc/systemd/msfrpcd.service
pwn-0.5.224 etc/systemd/msfrpcd.service
pwn-0.5.223 etc/systemd/msfrpcd.service
pwn-0.5.222 etc/systemd/msfrpcd.service
pwn-0.5.221 etc/systemd/msfrpcd.service
pwn-0.5.220 etc/systemd/msfrpcd.service
pwn-0.5.219 etc/systemd/msfrpcd.service
pwn-0.5.217 etc/systemd/msfrpcd.service
pwn-0.5.216 etc/systemd/msfrpcd.service