mirror of
https://github.com/Wind4/vlmcsd.git
synced 2024-11-28 21:11:03 +08:00
create systemd unit
This commit is contained in:
parent
c5e1a0a591
commit
ef0d0afb45
12
etc/vlmcsd.service
Normal file
12
etc/vlmcsd.service
Normal 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
|
Loading…
Reference in New Issue
Block a user