create systemd unit

This commit is contained in:
Filippe LeMarchand 2017-01-18 18:28:09 +03:00 committed by GitHub
parent c5e1a0a591
commit ef0d0afb45

12
etc/vlmcsd.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=KMS Emulator in C
After=syslog.target network.target
[Service]
User=nobody
Group=nogroup
Type=forking
ExecStart=/usr/bin/vlmcsd -i /etc/vlmcsd/vlmcsd.ini -j /etc/vlmcsd/vlmcsd.kmd -l syslog -v
[Install]
WantedBy=multi-user.target.wants