Skip to content

Ubuntu service doesn't notify systemd #84

@brianegge

Description

@brianegge

Area of Concern

  • Server
  • Behaviour of one or more Modules [provide name(s), e.g. ObjectDetectionYolo]
  • Installer
  • Runtime [e.g. Python3.7, .NET]
  • Module packages [e.g. PyTorch)
  • Something else

Describe the bug
deb installer doesn't enable service.
Service is setup for notify, but service doesn't notify systemd

Expected behavior
For .deb install, docs should indicate the following are required

sudo systemctl enable codeproject.ai-server.service
sudo systemctl start codeproject.ai-server.service

The service description should not include the notfiy setting, as it seems this service doesn't do this. Type should be simple.

$ cat /usr/bin/codeproject.ai-server-2.3.3/codeproject.ai-server.service
[Unit]
Description=CodeProject.AI Server 2.3.3 application

[Service]
# Our app can notify systemd of status changes
Type=notify

Screenshots
If applicable, add screenshots to help explain your problem.

Your System (please complete the following information):

  • CodeProject.AI Server version: 2.3.3
  • OS: 22.04.1
  • System RAM 32GB
  • GPU (if available) GeForce RTX 3080
  • GPU RAM (if available)

Additional context
log:
Jan 22 08:19:14 gladiator-ubuntu systemd[1]: codeproject.ai-server.service: start operation timed out. Terminating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions