69 Commits

Author SHA1 Message Date
NickHackman
dbb23739b0 service(MacOS): launch only once 2022-02-04 11:37:29 -06:00
Sean Molenaar
302975829d
service: add basic cron support 2021-11-30 14:29:22 +01:00
Sean Molenaar
4cb8afeeef
service: add timer support for systemd 2021-11-30 11:05:11 +01:00
Sean Molenaar
25bc1d8860
Service: add interval support 2021-11-06 13:18:58 +01:00
valrus
698f4a8f69 Add process_type to service DSL
This enables mpd to be run with the "Interactive" value, which avoids
performance issues such as skipping when playing music. See this PR,
where this was done previously:
https://github.com/Homebrew/homebrew-core/pull/19410

The ProcessType plist key was lost in the conversion to the service DSL:
483ad1fdfa
2021-09-09 17:37:49 -07:00
Dawid Dziurla
9657303ed2
Merge pull request #11492 from SMillerDev/fix/service/add_linux_target
service: add install block to unit
2021-06-08 02:14:01 +02:00
Sean Molenaar
8250f73383
service: add install block to unit 2021-06-05 17:59:17 +02:00
Sean Molenaar
3ce5737425
service: ensure environment variables are strings 2021-05-25 20:52:51 +02:00
Sean Molenaar
4f013526cf
service: simplify Environment= creation
Co-authored-by: Bo Anderson <mail@boanderson.me>
2021-05-25 11:49:22 +02:00
Sean Molenaar
ef9c49c5b2
service: ensure environment variables are prefixed in command 2021-05-25 11:47:44 +02:00
Sean Molenaar
e29b2caee0
service: define paths as expecting Pathname or string
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-05-24 14:20:46 +02:00
Sean Molenaar
fceaa2bb74
Service: add additional options 2021-05-22 18:17:36 +02:00
Nanda H Krishna
346621dd5b
service: delegate more path methods 2021-05-10 00:10:42 +05:30
Sean Molenaar
d4197835bb
services: fix array being flattened 2021-04-29 09:43:39 +02:00
Sean Molenaar
2ec4125178
Audit: make sure service commands exist 2021-04-27 09:36:36 +02:00
Sean Molenaar
0e93f728a6
Service: generate systemd unit file 2021-04-16 08:58:49 +02:00
Mike McQuaid
1ab2726e76
Cleanup service plist code. 2021-04-09 13:30:43 +01:00
Sean Molenaar
b927ecfd85
Fix formulae method loading
Co-authored-by: nandahkrishna <me@nandahkrishna.com>
2021-04-08 10:16:57 +02:00
Sean Molenaar
4427fa283f
formula: allow plists to be generated 2021-04-08 10:16:57 +02:00