From ef0d0afb457f4cfb3dfac1e8b1e03b46bd37721f Mon Sep 17 00:00:00 2001 From: Filippe LeMarchand Date: Wed, 18 Jan 2017 18:28:09 +0300 Subject: [PATCH] create systemd unit --- etc/vlmcsd.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 etc/vlmcsd.service diff --git a/etc/vlmcsd.service b/etc/vlmcsd.service new file mode 100644 index 0000000..0ea7dff --- /dev/null +++ b/etc/vlmcsd.service @@ -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