Commit Graph

153 Commits

Author SHA1 Message Date
Philippe PITTOLI
0f3d41651a WeirdOS => Baguette 2020-04-20 12:31:35 +02:00
Philippe PITTOLI
7b5e7e9286 Fixing compilation. 2020-04-20 12:30:57 +02:00
Philippe PITTOLI
2c33b29f5d Baguette. 2020-04-13 18:23:13 +02:00
2e66b44e58 start-as-root option added in service spec files. 2020-01-04 16:26:05 +01:00
ddeb253c1e Updates nginx’ support. 2020-01-04 16:16:13 +01:00
5347ec4a62 spec-defined users and groups. 2020-01-04 16:15:44 +01:00
0572fc1647 Fixes a gen-config issue related to non-runnables. 2020-01-04 15:22:34 +01:00
9c84fe7368 Improved exception handling in service. 2020-01-04 13:30:25 +01:00
4568f3204d Improved exception handling in gen-config. 2020-01-04 13:29:04 +01:00
7258ac4552 Improved groups/gid handling. 2020-01-04 13:15:19 +01:00
5d4cad69a6 authd, todod: updated service files. 2020-01-04 09:10:55 +01:00
3d49ca43be Improved groups creation and edition. 2020-01-04 09:08:55 +01:00
8e03e83f8d Primitive README added. 2019-11-18 16:52:23 +01:00
c8c0be9804 WIP for on-the-fly users. 2019-11-17 20:06:42 +01:00
ab9a76326e %file configure: can be set. 2019-11-16 21:41:12 +01:00
1ec624db41 Naming convention. 2019-11-16 21:29:55 +01:00
671bf44dc4 Template additions. 2019-11-16 21:28:58 +01:00
3a502f0415 Manpages update. 2019-11-16 18:04:23 +01:00
8d5839724b templates can now raise exceptions. 2019-11-16 16:08:52 +01:00
00dc153121 provider=none forces not using a token. 2019-11-16 13:25:00 +01:00
caeb5fcb70 Syntax fixes in service.1. 2019-11-13 00:40:13 +01:00
b074dae4e6 WIP documentation. 2019-11-12 20:03:45 +01:00
1a90b285d2 Non-runnables are being setup automatically.
In practice, they’re being setup after their last token provider has
been started.
2019-11-11 20:52:15 +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
c43eb7af42 Grooming.
Fixes some issues introduced in the last commit.
2019-11-10 19:25:45 +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
f3633eba63 Minor UI edition for consistency. 2019-11-09 14:49:54 +01:00
4a03200130 Improved variable expansion in service definitions. 2019-11-09 14:47:29 +01:00
5852a1b818 Improved UI a bit. 2019-11-09 13:35:25 +01:00
32dd294c1b Fixing postgresql’s UNIX sockets directory. 2019-11-09 13:27:27 +01:00
c2730bdd71 Improved service removal. 2019-11-08 15:54:44 +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
Philippe PITTOLI
10cd792373 Delete the PID file when stopping the service. 2019-11-07 21:03:26 +01:00
1c80a80158 Custom names for services.
Services must be created as `[env/]custom_name` and be passed a `type=`
parameter when created.
2019-11-07 18: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
Philippe PITTOLI
36000bfb97 nginx template: pid instruction 2019-11-02 22:41:29 +01:00
Philippe PITTOLI
106e7612e9 Merge branch 'nginx' of ssh://git.karchnu.fr:2202/WeirdOS/service into nginx 2019-11-02 22:14:31 +01:00
Philippe PITTOLI
f6f4d542ae nginx: new template 2019-11-02 22:14:08 +01:00
184db7db1e waitpid() called when stopping services. 2019-10-29 14:22:13 +01:00
7fdccfa1b2 service status --verbose 2019-10-29 13:08:58 +01:00
cd6fd4c81f Improved service status a bit. 2019-10-29 12:48:36 +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
5c6198a023 Merge branch 'nginx' of ssh://git.karchnu.fr:2202/WeirdOS/service into nginx 2019-10-28 14:06:39 +01:00