aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index bef5559..a41c160 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -55,7 +55,7 @@ fn start() -> anyhow::Result<()> {
fn log(child: Child, service_name: &str) -> anyhow::Result<()> {
let mut stdout = StandardStream::stdout(ColorChoice::Always);
- let mut file = File::create(Path::new("/data").join(service_name))?;
+ let mut file = File::create(Path::new("/data").join(service_name).join(".log"))?;
let mut r = BufReader::new(child.stdout.expect("no child stdout"));
loop {