Created
May 26, 2019 11:59
-
-
Save UberKitten/fd0c82ce599eec70e190cf84abd0fc8d to your computer and use it in GitHub Desktop.
Revisions
-
UberKitten created this gist
May 26, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ [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