Covenant as a Service
sec13b opened this issue · 0 comments
sec13b commented
how i can make to running Covenant as a Service?
i solve , below is the solution:
# covenant.service
[Unit]
Description=Covenant Service
After=network.target
Wants=network.target
[Service]
Type=Simple
WorkingDirectory=/opt/Covenant/Covenant
ExecStart=/opt/Covenant/Covenant/bin/Debug/netcoreapp3.1/Covenant
[Install]
WantedBy=multi-user.target
Copy the service files to your Covenant
sudo cp covenant.service /etc/systemd/system/
sudo chmod+x /etc/systemd/system/covenant.service
Register the new services
systemctl daemon-reload
Start the services
systemctl start covenant.service
systemctl status covenant.service
Thank you.