Skip to content

pgforge service autostart doesn't work #52

@xar

Description

@xar

even after adding service using "pgforge enable-service bilisdb" it doesn't autostart after restart of server.

do you need anything to debug?

@claude

pgforge enable-service bilisdb
⠸ Enabling service for instance 'bilisdb'...Service pgforge-bilisdb enabled successfully
Service auto-start enabled for instance 'bilisdb'
✔ Service enabled for instance 'bilisdb'

The instance will now automatically start after system restart.
Service management commands:
Check status: pgforge service-status bilisdb
Disable: pgforge disable-service bilisdb

pgforge status

PgForge System Status
──────────────────────────────
Version: 0.1.0
Config Directory: ~/.pgforge
Runtime: Bun v22.6.0
Platform: linux x64

Instances:

PostgreSQL Instances:
────────────────────────────────────────────────────────────────────────────────
NAME STATUS VERSION PORT DATABASE AUTO-START
───────────────────────────────────────────────────────────────────────────────────────────────
bilisdb ● Stopped 17.5 5891 bilisdb_db ✓ Enabled

pgforge service-status bilisdb
Service Status for 'bilisdb':
Service Name: pgforge-bilisdb
Enabled: Yes
Active: No
Status: inactive
Service Type: System

This instance will automatically start after system restart.

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