Commit Graph

55 Commits

Author SHA1 Message Date
Sander van der Burg 78ba5f6b1f Fix supervisor package reference 2022-05-31 18:43:34 +02:00
Sander van der Burg 4c5eaa0c6b Add execline to the PATH of s6-svscan to make finding all chainload executables work 2021-04-22 22:54:36 +02:00
Sander van der Burg 1e4a858805 Remove some unneeded prefixes 2021-04-16 19:53:20 +02:00
Sander van der Burg 5cea3900eb Make worker connections configurable 2021-04-03 18:30:30 +02:00
Sander van der Burg 33c70b550f Add testcases for example services, make docker instantiatable, move process models for process managers into the backend folders 2021-04-01 20:30:30 +02:00
Sander van der Burg 814294f6f8 Make spoolDir, lockDir, libDir configurable 2021-03-21 14:47:39 +01:00
Sander van der Burg b325a0e3c2 Automatically default a process name to instanceName if no name was specified, update README.md with a dedicated section on instantiatable services 2021-03-13 15:26:38 +01:00
Sander van der Burg 5f65ae4e96 Eliminate all references to stdenv.lib, add tests that build for all backends 2021-03-01 20:46:26 +01:00
Sander van der Burg 15cae81018 Re-organize constructor functions, separate processes models 2021-02-15 19:11:57 +01:00
Sander van der Burg d347c04fd6 Initial implementation of a buildImage function with configurable build steps, and an implementation of a mutable image building function 2021-02-11 23:23:02 +01:00
Sander van der Burg 25d3af2cbb Fix nixproc-id-assign tool, reassign IDs, add s6-rc test to the release expression 2021-02-07 20:07:56 +01:00
Sander van der Burg 972fa2278e Move all non-essential services that are not required for testing to the nix-processmgmt-services repository 2021-02-07 14:34:32 +01:00
Sander van der Burg 600c0b14cf Make createMultiProcessImage function composable, move all target-specific process manager stuff into the backends/ folder, add script for easy startup of s6-svscan 2021-01-25 20:26:34 +01:00
Sander van der Burg a0f6da840e Create function to automatically generate log companion services 2021-01-20 23:28:24 +01:00
Sander van der Burg b773dfe295 Fix stopping daemons, write preliminary testcases for s6-rc 2021-01-19 22:07:25 +01:00
Sander van der Burg 2eede58df3 Move generator function for each process manager to its own folder, separate the universal abstraction and utility functions 2021-01-14 22:52:45 +01:00
Sander van der Burg 5ab68c5b55 Get rid of obsolete start instruction 2020-11-25 21:29:37 +01:00
Sander van der Burg f42360bc20 Make the influxdbUsername configurable 2020-11-15 19:43:23 +01:00
Sander van der Burg e22e76792c Get rid of createCredentials wrapper, create config files for users that require home directories even when forceDisableUserChange is enabled 2020-11-08 21:21:28 +01:00
Sander van der Burg 43efbd9ca2 Expose the InfluxDB port, run InfluxDB as unprivileged user 2020-11-06 22:36:33 +01:00
Sander van der Burg 9d44a383e5 Add a PostgreSQL service container provider 2020-11-04 21:42:57 +01:00
Sander van der Burg 1ac650cf36 Fix loading PHP extensions 2020-11-01 21:52:35 +01:00
Sander van der Burg 2ec81d053c Fix Nginx examples to work with nginx package in Nixpkgs 20.09, fix test cases to work with Nixpkgs 20.09 2020-11-01 18:30:12 +01:00
Sander van der Burg 833eac29d8 Add openssh service 2020-10-26 21:58:30 +01:00
Sander van der Burg 8acd35909f Remove compound process stuff, it was a bad idea 2020-10-25 20:26:10 +01:00
Sander van der Burg 0a637bfb8a Make it possible to also define functions for overrides, supervisord always accepts a pidfile parameter 2020-10-25 17:05:58 +01:00
Sander van der Burg b0da46b268 Add createMultiProcessImage and an initial implementation for constructing compound processes 2020-10-22 22:01:32 +02:00
Sander van der Burg 1590fa145b Adjust MySQL socket file name generation so that no socket parameter to the client is required for a standard installation 2020-10-05 22:50:42 +02:00
Sander van der Burg de1c8b15b9 Add nixproc-id-assign to automatically assign unique IDs to processes that need them 2020-09-21 21:33:29 +02:00
Sander van der Burg 5bf40eb7d5 Add a default logging parameter to daemon command invocations to make diagnosing problems easier, add a troubleshooting section to the README.md that explains how to investigate logs 2020-08-19 20:34:23 +02:00
Sander van der Burg dad1f2f7ca Implement --undeploy option for all tools, make Docker tests a bit more robust 2020-08-17 21:08:25 +02:00
Sander van der Burg 459a8cb228 Make instanceName configurable, simplify conventions 2020-08-11 21:43:25 +02:00
Sander van der Burg 12486e03db Add section on Disnix integration 2020-07-19 18:11:22 +02:00
Sander van der Burg eabf6e1b2c Add docker service, docker test cases 2020-07-08 23:13:14 +02:00
Sander van der Burg 30e217945a Fix the foreground proxy, add supervisord testcases 2020-07-07 22:29:10 +02:00
Sander van der Burg 7897fc0b15 Add some basic testcases, fix the tools on multi-user Nix installations, fix pure-sysvinit examples 2020-07-06 22:06:51 +02:00
Sander van der Burg a45c01b374 Add ordering support 2020-07-04 00:55:18 +02:00
Sander van der Burg 2451baf0bc Initial version of a docker target 2020-07-03 00:04:00 +02:00
Sander van der Burg 026846ebcf Fix problem with local ordering when using webapps with transitive inter-dependencies 2020-06-22 22:45:35 +02:00
Sander van der Burg 1c192eb722 Fix problem with unprivileged user deployments 2020-06-19 22:52:20 +02:00
Sander van der Burg 3ad8052fa7 Expose the HTTP port as InfluxDB property 2020-06-05 22:33:23 +02:00
Sander van der Burg 07155e4898 Add InfluxDB managed process 2020-05-30 16:50:22 +02:00
Sander van der Burg d3e3934ad8 Add copyright headers 2020-05-05 23:45:20 +02:00
Sander van der Burg a3e71a3344 Add svnserve example service, allow Apache to run CGI scripts 2020-04-21 20:13:52 +02:00
Sander van der Burg 2485ef1df4 Add constructor functions for deploying container provider services with Disnix 2020-04-20 20:46:19 +02:00
Sander van der Burg d486445a5b tomcat: create base directory by creating the user 2020-04-20 20:39:20 +02:00
Sander van der Burg dc0b8bb4d4 Add supervisord service, use camelcase convention for attribute names 2020-04-18 19:47:10 +02:00
Sander van der Burg aadbc7fd62 Add php option to the Apache HTTPD service 2020-04-17 20:02:30 +02:00
Sander van der Burg df036873ab Add MongoDB example service 2020-04-16 20:09:25 +02:00
Sander van der Burg 72ba3b1452 Move Nginx to services examples, add second reverse proxy example that works path based 2020-04-16 00:05:54 +02:00