Commit Graph

118 Commits

Author SHA1 Message Date
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
3349c3f251 WIP optional tokens. 2019-10-28 14:06:05 +01:00
Philippe PITTOLI
221206ec84 Merge branch 'nginx' of ssh://git.karchnu.fr:2202/WeirdOS/service into nginx 2019-10-28 13:39:22 +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
e336abdee5 Merge branch 'nginx' of ssh://git.karchnu.fr:2202/WeirdOS/service into nginx 2019-10-28 06:39:32 +01:00
3a3db5bde1 Grooming. 2019-10-28 06:37:57 +01:00
86f3294689 gen-config: 'service' replaces several variables. 2019-10-28 06:17:45 +01:00
0f89791a76 Debug message removed. 2019-10-28 06:08:58 +01:00
36829e8664 Grooming. 2019-10-28 06:08:58 +01:00
c80360e380 Grooming. 2019-10-28 06:08:58 +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
5b6e3e64fd Debug message removed. 2019-10-28 06:08:08 +01:00
00f9a2b228 Grooming. 2019-10-28 06:06:18 +01:00
a29db9142a Grooming. 2019-10-28 05:46:44 +01:00
Philippe PITTOLI
519770250f Merge branch 'nginx' of ssh://git.karchnu.fr:2202/WeirdOS/service into nginx 2019-10-28 00:53:13 +01:00
0c720683f6 wip, stuff 2019-10-27 23:02:45 +01:00
Philippe PITTOLI
96b3f1b342 Merge branch 'master' into nginx 2019-10-27 22:16:54 +01:00
19f825dba4 Fixes service loading issue in gen-config. 2019-10-27 22:14:11 +01:00
Philippe PITTOLI
7864d5b6a2 first attempt at adding the nginx service 2019-10-27 22:13:40 +01:00
ff4c1cc08d WIP consumers in gen-config. 2019-10-27 22:11:07 +01:00
12cb9ee4dd shard.yml: targets removed 2019-10-27 21:42:18 +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
34a2982ef4 Merge branch 'master' of ssh://git.karchnu.fr:2202/WeirdOS/service 2019-10-26 14:00:27 +02:00
27c9a525f6 Service#root, Environment#root. 2019-10-26 14:00:11 +02:00
Philippe PITTOLI
85cd6b6355 pg_create_user script: user and db deletion 2019-10-26 13:09:39 +02:00
1f9264f97b Improved service del, service stop, grooming. 2019-10-25 18:40:27 +02:00
21e6943868 service del-environment 2019-10-25 17:59:53 +02:00
1bc9181caa Internal changes in gen-config.
Most data are now read from service files instead of the process’
environment. Some environment variables are still being used to identify
the target service, however.
2019-10-25 15:14:56 +02:00
8d0708dee8 Scripts in utils/* are now installed properly. 2019-10-25 15:14:22 +02:00
Philippe PITTOLI
d43eddf726 Merge branch 'master' of ssh://git.karchnu.fr:2202/WeirdOS/service 2019-10-25 15:01:43 +02:00
Philippe PITTOLI
3d4cdf335d Service gitea: adding -C, -w and -c parameters. 2019-10-25 15:01:12 +02:00
fe4bce0a44 gen-config: grooming 2019-10-25 13:21:22 +02:00