JDP 發表於 2018-9-13 08:48:09

將 vlmcsd 加成服務

#vi /lib/systemd/system/vlmcsd.service

Description=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]
查看完整版本: 將 vlmcsd 加成服務