將 vlmcsd 加成服務
#vi /lib/systemd/system/vlmcsd.serviceDescription=KMS Server By vlmcsd
After=network.target
Type=forking
PIDFile=/var/run/vlmcsd.pid
ExecStart=/usr/bin/vlmcsd -p /var/run/vlmcsd.pid
ExecStop=/bin/kill -HUP $MAINPID
PrivateTmp=true
WantedBy=multi-user.target
#systemctl daemon-reload
#systemctl start vlmcsd
#systemctl enable vlmcsd
Reference: https://www.codeonway.com/2017/09/07/setup-kms-server-on-centos-7/
頁:
[1]