Last active
June 19, 2022 07:29
-
-
Save andreaschandra/0bcee0a6203e195b5043249de852d3c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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