Commit Graph

13 Commits (6ee52f5baaedf6e657fc0b14da00e009b3080a52)

Author SHA1 Message Date
Luka Vandervelden 6ee52f5baa Ports management overhaul. 2019-10-29 12:32:49 +01:00
Luka Vandervelden 3349c3f251 WIP optional tokens. 2019-10-28 14:06:05 +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 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 a3c32905ee ServiceDefinition#name based on filename and not specs. 2019-10-25 12:24:25 +02:00
Luka Vandervelden 46eb8fa9c4 Exception catching. 2019-10-24 12:59:19 +02:00
Luka Vandervelden 794ffe16fa Bugfixes related to a dependency’s API changes. 2019-10-19 18:24:38 +02:00
Luka Vandervelden 3c20783f91 Updated dependencies and code for new Crystal version. 2019-10-19 18:08:34 +02:00
Luka Vandervelden 75e500adcf SpecFileParser update. 2019-08-15 17:29:52 +02:00
Luka Vandervelden efe2c0e964 Complete removal of YAML files. 2019-08-10 17:16:24 +02:00
Luka Vandervelden 3769303ad5 WIP support for .spec service files. 2019-08-08 17:12:23 +02:00
Luka Vandervelden 5eb0849abd Project organisation for WIP separate binaries.
- The idea would be to allow running specific commands from SUID
    binaries when unpriviledged users should be able to run them. Such
    commands include getting services status, which need root
    priviledges to be implemented but shouldn’t be required by users.
  - Because the repository now builds several binaries, src/main.cr is
    now src/service.cr and a WIP src/status.cr has been added.
  - The `status` binary will likely be installed in libexec in the
    future, with the SUID bit set.
2019-06-09 18:08:59 +02:00