life-deployments/life-messaging.manifest.yaml

25 lines
737 B
YAML

name: life-messaging
description: Life Messaging Service - Cross-platform messaging and notifications
type: daemon-service
version: 1.0.0
platforms:
black:
os: linux
host: 10.0.0.11
environment: production
service:
type: systemd-user
name: life-messaging-api
port: 3702
install:
path: ~/Code/@projects/@life/life-platform
script: ./scripts/prod.sh release --target black
setup:
path: ~/Code/@projects/@life/life-platform
script: ./scripts/prod.sh setup --target black
status:
command: "systemctl --user is-active life-messaging-api 2>/dev/null || echo 'not available'"
type: systemd
logs:
systemd: "journalctl -u life-messaging-api -n 50 -f"