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.173 etc/systemd/msfrpcd.service
pwn-0.5.172 etc/systemd/msfrpcd.service
pwn-0.5.171 etc/systemd/msfrpcd.service
pwn-0.5.170 etc/systemd/msfrpcd.service
pwn-0.5.169 etc/systemd/msfrpcd.service
pwn-0.5.168 etc/systemd/msfrpcd.service
pwn-0.5.167 etc/systemd/msfrpcd.service
pwn-0.5.166 etc/systemd/msfrpcd.service
pwn-0.5.165 etc/systemd/msfrpcd.service
pwn-0.5.164 etc/systemd/msfrpcd.service
pwn-0.5.163 etc/systemd/msfrpcd.service
pwn-0.5.162 etc/systemd/msfrpcd.service
pwn-0.5.161 etc/systemd/msfrpcd.service
pwn-0.5.160 etc/systemd/msfrpcd.service
pwn-0.5.159 etc/systemd/msfrpcd.service
pwn-0.5.158 etc/systemd/msfrpcd.service
pwn-0.5.157 etc/systemd/msfrpcd.service
pwn-0.5.156 etc/systemd/msfrpcd.service
pwn-0.5.155 etc/systemd/msfrpcd.service
pwn-0.5.154 etc/systemd/msfrpcd.service