Commit Graph

28 Commits (1a90b285d2bdc1545e4432e1e0b2d1afad1c21e8)

Author SHA1 Message Date
Luka Vandervelden ef7521c5b6 Imprroves postgresql’s readiness-check-command. 2019-11-11 19:02:04 +01:00
Luka Vandervelden 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
Luka Vandervelden d3fe317665 Grooming, `service reload`, `Service#reload`.
`reload-command:` can be defined in service definition `.spec` files.
2019-11-09 21:52:43 +01:00
Luka Vandervelden 77290392b2 Naming conventions in postgresql.spec. 2019-11-09 14:53:30 +01:00
Luka Vandervelden 32dd294c1b Fixing postgresql’s UNIX sockets directory. 2019-11-09 13:27:27 +01:00
Luka Vandervelden 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
Luka Vandervelden 6c3024c92f Merge branch 'master' of ssh://git.karchnu.fr:2202/WeirdOS/service 2019-11-07 14:45:25 +01:00
Luka Vandervelden 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
Luka Vandervelden b202aa2b5c Merge branch 'nginx' of ssh://git.karchnu.fr:2202/WeirdOS/service into nginx 2019-10-29 12:33:27 +01:00
Luka Vandervelden 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
Luka Vandervelden df718d2a9e gitea gets require-domain and its domain used in templates. 2019-10-28 13:24:41 +01:00
Luka Vandervelden 55dbfa7999 Some services now require a domain name to be provided. 2019-10-28 13:22:15 +01:00
Luka Vandervelden 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
Luka Vandervelden 134da2dea4 pg_create_user: extracts more environment variables 2019-10-26 15:44:35 +02:00
Luka Vandervelden 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
Luka Vandervelden 7b02cffb9e %check entries are now called %pre-start hooks. 2019-10-26 14:50:03 +02:00
Luka Vandervelden 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
Luka Vandervelden 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
Luka Vandervelden efe2c0e964 Complete removal of YAML files. 2019-08-10 17:16:24 +02:00
Luka Vandervelden 2e57922ffd Example (and test) service files added. 2019-07-08 02:59:01 +02:00
Luka Vandervelden c77d931493 shard.yml and test .empty files added. 2019-06-08 02:33:14 +02:00