Go to file
Luka Vandervelden ddeb253c1e Updates nginx’ support. 2020-01-04 16:16:13 +01:00
doc Manpages update. 2019-11-16 18:04:23 +01: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 Updates nginx’ support. 2020-01-04 16:16:13 +01:00
src spec-defined users and groups. 2020-01-04 16:15:44 +01: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 WIP for on-the-fly users. 2019-11-17 20:06:42 +01: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