Last active
October 5, 2018 15:17
-
-
Save ulcuber/f9aa901cadd68bc6481fbe142e46b28e 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=Pgadmin4 Service | |
After=network.target | |
[Service] | |
User= root | |
Group= root | |
# Point to the virtual environment directory | |
WorkingDirectory=__VENV_PATH__ | |
# Point to the bin folder of your virtual environment | |
Environment="PATH=__VENV_PATH__/bin" | |
ExecStart="__EXEC_DIR__" | |
PrivateTmp=true | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment