From df4784e7b98729b8445199d83d68d74ae748122c Mon Sep 17 00:00:00 2001 From: gcarq Date: Sat, 16 Dec 2017 03:00:43 +0100 Subject: [PATCH] add service file --- freqtrade.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 freqtrade.service diff --git a/freqtrade.service b/freqtrade.service new file mode 100644 index 000000000..76f9b6016 --- /dev/null +++ b/freqtrade.service @@ -0,0 +1,14 @@ +[Unit] +Description=Freqtrade Daemon +After=network.target + +[Service] +# Set WorkingDirectory and ExecStart to your file paths accordingly +# NOTE: %h will be resolved to /home/ +WorkingDirectory=%h/freqtrade +ExecStart=/usr/bin/freqtrade --dynamic-whitelist 40 +Restart=on-failure + +[Install] +WantedBy=default.target +