Commit Graph

31 Commits

Author SHA1 Message Date
ddeb253c1e Updates nginx’ support. 2020-01-04 16:16:13 +01:00
5d4cad69a6 authd, todod: updated service files. 2020-01-04 09:10:55 +01:00
c8c0be9804 WIP for on-the-fly users. 2019-11-17 20:06:42 +01:00
ef7521c5b6 Imprroves postgresql’s readiness-check-command. 2019-11-11 19:02:04 +01:00
f2507e2dd0 readiness-check-command: implemented.
The 'postgresql' service is a good example of how this is used in
practice.
2019-11-11 16:52:40 +01:00
d3fe317665 Grooming, service reload, Service#reload.
`reload-command:` can be defined in service definition `.spec` files.
2019-11-09 21:52:43 +01:00
77290392b2 Naming conventions in postgresql.spec. 2019-11-09 14:53:30 +01:00
32dd294c1b Fixing postgresql’s UNIX sockets directory. 2019-11-09 13:27:27 +01:00
87929be026 Updating service definitions format.
THIS IS A BREAKING CHANGE

Hopefully, this change will make it easier to remove data on service
removal, but also to export and backup service data and to add
per-service system users.

A few obsolete service definitions have also been updated to the new
format.

Testing is still incomplete, you may want to wait a few commits before
using this.
2019-11-08 14:36:59 +01:00
Philippe PITTOLI
e0e81d8581 Services can now be "Non Runnable". 2019-11-08 01:08:57 +01:00
6c3024c92f Merge branch 'master' of ssh://git.karchnu.fr:2202/WeirdOS/service 2019-11-07 14:45:25 +01:00
3a6d16840c Updating authd.spec. 2019-11-07 14:45:12 +01:00
Philippe PITTOLI
fd704745fa removing "test" port 2019-11-04 14:00:13 +01:00
b202aa2b5c Merge branch 'nginx' of ssh://git.karchnu.fr:2202/WeirdOS/service into nginx 2019-10-29 12:33:27 +01:00
6ee52f5baa Ports management overhaul. 2019-10-29 12:32:49 +01:00
Philippe PITTOLI
56ffb39cc5 nginx proxy, gitea proxied 2019-10-28 18:10:50 +01:00
df718d2a9e gitea gets require-domain and its domain used in templates. 2019-10-28 13:24:41 +01:00
55dbfa7999 Some services now require a domain name to be provided. 2019-10-28 13:22:15 +01:00
9a74130efa wip, stuff 2019-10-28 06:08:58 +01:00
Philippe PITTOLI
358c7441e6 first attempt at adding the nginx service 2019-10-28 06:08:58 +01:00
134da2dea4 pg_create_user: extracts more environment variables 2019-10-26 15:44:35 +02:00
f53db2c6cc Service definitions get some sugar.
- %configuration template target
  - %directory target
  - Services are started in their “root directory” if no “directory”
    option is provided.
2019-10-26 15:24:22 +02:00
7b02cffb9e %check entries are now called %pre-start hooks. 2019-10-26 14:50:03 +02:00
27c9a525f6 Service#root, Environment#root. 2019-10-26 14:00:11 +02:00
Philippe PITTOLI
3d4cdf335d Service gitea: adding -C, -w and -c parameters. 2019-10-25 15:01:12 +02:00
7c66ce5a37 services/postgresql: typo in directory path 2019-10-24 18:48:29 +02:00
Philippe PITTOLI
59b78e3af5 New service: gitea. 2019-10-24 15:54:15 +02:00
Philippe PITTOLI
7f9bd275b1 postgresql (spec + template) 2019-10-22 18:33:51 +02:00
efe2c0e964 Complete removal of YAML files. 2019-08-10 17:16:24 +02:00
2e57922ffd Example (and test) service files added. 2019-07-08 02:59:01 +02:00
c77d931493 shard.yml and test .empty files added. 2019-06-08 02:33:14 +02:00