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.215 etc/systemd/msfrpcd.service
pwn-0.5.214 etc/systemd/msfrpcd.service
pwn-0.5.213 etc/systemd/msfrpcd.service
pwn-0.5.212 etc/systemd/msfrpcd.service
pwn-0.5.211 etc/systemd/msfrpcd.service
pwn-0.5.210 etc/systemd/msfrpcd.service
pwn-0.5.209 etc/systemd/msfrpcd.service
pwn-0.5.207 etc/systemd/msfrpcd.service
pwn-0.5.206 etc/systemd/msfrpcd.service
pwn-0.5.205 etc/systemd/msfrpcd.service
pwn-0.5.204 etc/systemd/msfrpcd.service
pwn-0.5.203 etc/systemd/msfrpcd.service
pwn-0.5.202 etc/systemd/msfrpcd.service
pwn-0.5.201 etc/systemd/msfrpcd.service
pwn-0.5.200 etc/systemd/msfrpcd.service
pwn-0.5.199 etc/systemd/msfrpcd.service
pwn-0.5.198 etc/systemd/msfrpcd.service
pwn-0.5.197 etc/systemd/msfrpcd.service
pwn-0.5.196 etc/systemd/msfrpcd.service
pwn-0.5.195 etc/systemd/msfrpcd.service