From 88295804241dffc76060999d222ea798ececef2b Mon Sep 17 00:00:00 2001 From: weintek-mao <45252001+weintek-mao@users.noreply.github.com> Date: Tue, 17 Sep 2019 11:29:43 +0800 Subject: [PATCH] Add WorkingDirectory to avoid writing everything to / (default) --- Linux.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Linux.md b/Linux.md index 40be90c..f1521e2 100644 --- a/Linux.md +++ b/Linux.md @@ -37,6 +37,7 @@ After=network-online.target Type=simple Restart=always ExecStart=/usr/local/bin/statping +WorkingDirectory=/usr/local/bin [Install] WantedBy=multi-user.target