Skip to content

Instantly share code, notes, and snippets.

@andreaschandra
Last active June 19, 2022 07:29
Show Gist options
  • Save andreaschandra/0bcee0a6203e195b5043249de852d3c2 to your computer and use it in GitHub Desktop.
Save andreaschandra/0bcee0a6203e195b5043249de852d3c2 to your computer and use it in GitHub Desktop.
[Unit]
Description=MLFlow Server
[Service]
Type=simple
ExecStart=/bin/bash -c 'PATH=/home/<username>/miniconda3/bin/:$PATH exec mlflow server --backend-store-uri postgresql://mlflow:mlflow@localhost/mlflow --default-artifact-root file:/home/andreas/mlruns -h 0.0.0.0 -p 8000'
User=<user>
Group=<group>
WorkingDirectory=/home/<username>
Restart=always
RestartSec=10
#KillMode=mixed
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment