mirror of
https://github.com/ThunderEX/py-kms.git
synced 2025-04-18 07:44:00 +03:00
18 lines
403 B
Plaintext
18 lines
403 B
Plaintext
# systemd unit file, copy to /etc/systemd/system/pykms.service
|
|
# adjust WorkingDirectory
|
|
# "systemctl start pykms" to start
|
|
# "systemctl enable pykms" to auto-start
|
|
|
|
[Unit]
|
|
Description=py-kms Key Management Server for Microsoft products
|
|
After=network.target
|
|
|
|
[Service]
|
|
WorkingDirectory=/path/to/py-kms/
|
|
ExecStart=/usr/bin/python server.py
|
|
User=nobody
|
|
Group=nogroup
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|