Closed gobiursus closed 1 year ago
i had similar issue (errors) when creating service for the root
user. It helped to change service WorkingDirectory
to havoc folder
...
[Service]
Type=simple
Restart=on-failure
RestartSec=3
User=root
ExecStart=/opt/havoc/havoc server --profile /opt/havoc/profiles/c2.yaotl -v --debug &
ExecStop=/usr/bin/pkill --signal SIGINT -f 'havoc'
WorkingDirectory=/srv/Havoc
...
i had similar issue (errors) when creating service for the
root
user. It helped to change serviceWorkingDirectory
to havoc folder... [Service] Type=simple Restart=on-failure RestartSec=3 User=root ExecStart=/opt/havoc/havoc server --profile /opt/havoc/profiles/c2.yaotl -v --debug & ExecStop=/usr/bin/pkill --signal SIGINT -f 'havoc' WorkingDirectory=/srv/Havoc ...
Thank you, this solves my problem!
@sonsu solved my problem. Issue solved and closed.
Contact Details
No response
What happened?
I am trying to run Havoc team server with Systemd as a specific user but not succeed. Here's are my systemd file and environment information: Error:
My systemd file under
/etc/systemd/system/havoc.service
:The ownership of everything under
/opt/havoc
belongs tohavoc:havoc
OS:Python version: Python3.11(Python3.10 does not available on Debian 12)
Did You Do a Pull First?
Latest (You performed a pull first)
Did You Try With the Dev Branch?
Yes (You tried using the dev branch but the problem persist)
Relevant log output
No response
Did You Read Over Your Issue First?