Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Covenant as a Service #397

Open
sec13b opened this issue Jul 12, 2024 · 0 comments
Open

Covenant as a Service #397

sec13b opened this issue Jul 12, 2024 · 0 comments

Comments

@sec13b
Copy link

sec13b commented Jul 12, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant