You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Philippe PITTOLI b1067b0e70 Adding shards targets. 3 years ago
doc WeirdOS => Baguette 3 years ago
log shard.yml and test .empty files added. 4 years ago
rc shard.yml and test .empty files added. 4 years ago
services start-as-root option added in service spec files. 3 years ago
src Fixing compilation. 3 years ago
templates Updates nginx’ support. 3 years ago
utils Ports management overhaul. 3 years ago
README.md Primitive README added. 3 years ago
project.zsh WIP documentation. 3 years ago
shard.yml Adding shards targets. 3 years ago

README.md

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

Dependencies

You’ll 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, you’ll 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