From 0e82003b6d4c4a0d50e4f2547e280e4c21e7ecb1 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Sun, 30 Oct 2016 16:21:23 +0100 Subject: [PATCH] [TASK] Add WorkingDirectory to systemd service file. --- ftpbot.service.example | 1 + 1 file changed, 1 insertion(+) diff --git a/ftpbot.service.example b/ftpbot.service.example index e6bc72e..01b840e 100644 --- a/ftpbot.service.example +++ b/ftpbot.service.example @@ -6,6 +6,7 @@ After=network.target Type=simple User=%USER% Group=%GROUP% +WorkingDirectory=%PWD% ExecStart=%PWD%/venv/bin/python %PWD%/ftpbot.py [Install]