Skip to content

Covenant as a Service #397

Description

@sec13b

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions