add service file

This commit is contained in:
gcarq 2017-12-16 03:00:43 +01:00
parent e00f02b603
commit df4784e7b9

14
freqtrade.service Normal file
View File

@ -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/<username>
WorkingDirectory=%h/freqtrade
ExecStart=/usr/bin/freqtrade --dynamic-whitelist 40
Restart=on-failure
[Install]
WantedBy=default.target