Go to file
Philippe PITTOLI b1067b0e70 Adding shards targets. 2020-04-20 12:42:55 +02:00
doc WeirdOS => Baguette 2020-04-20 12:31:35 +02:00
log shard.yml and test .empty files added. 2019-06-08 02:33:14 +02:00
rc shard.yml and test .empty files added. 2019-06-08 02:33:14 +02:00
services start-as-root option added in service spec files. 2020-01-04 16:26:05 +01:00
src Fixing compilation. 2020-04-20 12:30:57 +02:00
templates Updates nginx’ support. 2020-01-04 16:16:13 +01:00
utils Ports management overhaul. 2019-10-29 12:32:49 +01:00
README.md Primitive README added. 2019-11-18 16:52:23 +01:00
project.zsh WIP documentation. 2019-11-12 20:03:45 +01:00
shard.yml Adding shards targets. 2020-04-20 12:42:55 +02:00

README.md

service is a tool that deploys and manages dæmons and services.

Dependencies

Youll need crystal and make to build the application, and shards to fetch a few Crystal libraries.

Run shards install to fetch the Crystal libraries.

Building

service uses a build.zsh-generated Makefile. You can run make help to get a list of all available build targets (“make commands”).

make help

To build and install the software with default configuration, run the following:

make
make install

If you want to alter the installation prefix or destination, use the following syntax:

make PREFIX=/usr DESTDIR=/some/fake/root install

If make complains that the Makefile is missing, youll have to generate it with the following command:

build.zsh

Usage

Read service.1 and service.7 for more informations about how service is meant to be used.

Quickstart

service add postgresql
service add gitea domain=gitea.test

service start postgresql

service show gitea
service status -v
service status -v gitea