Created
May 26, 2019 11:59
-
-
Save UberKitten/fd0c82ce599eec70e190cf84abd0fc8d to your computer and use it in GitHub Desktop.
Systemd py-kms service unit file
This file contains hidden or 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=py-kms | |
| After=network.target | |
| Wants=network-online.target | |
| [Service] | |
| # Have to use unbuffer otherwie py-kms tries to launch GUI | |
| ExecStart=/usr/bin/unbuffer /opt/py-kms/env/bin/python3 /opt/py-kms/py-kms/py-kms/pykms_Server.py 0.0.0.0 1688 --logfile /var/log/py-kms.log -V DEBUG | |
| Restart=always | |
| KillMode=process | |
| Type=idle | |
| User=py-kms | |
| Group=py-kms | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment