1
0
mirror of https://github.com/ThunderEX/py-kms.git synced 2025-04-18 07:44:00 +03:00
py-kms/systemd-unit-file
2018-10-20 16:15:56 +02:00

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