mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-12-10 03:49:44 +00:00
fix(y2q): mkdir main before runit svlogd
- Create main directory before running svlogd - Switch to svlogd -tt to add human-readable timestamps
This commit is contained in:
parent
04d4ac2a9e
commit
fec6c21498
1 changed files with 2 additions and 1 deletions
|
|
@ -70,7 +70,8 @@
|
|||
"runit/services/${serviceName}/log/run" = lib.mkIf sCfg.log.enable {
|
||||
text = ''
|
||||
#!/bin/sh
|
||||
exec svlogd -t ./main
|
||||
mkdir -p main
|
||||
exec svlogd -tt ./main
|
||||
'';
|
||||
executable = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue