Add createvm.service

This commit is contained in:
Blackwhitebear8 2024-12-09 15:44:48 +01:00
parent 733459315c
commit 75c9a2ea9d

15
createvm.service Normal file
View file

@ -0,0 +1,15 @@
[Unit]
Description=Create VM service
After=network.target
[Service]
ExecStart=/usr/bin/python3 /opt/createvm/app.py
WorkingDirectory/opt/createvm
User=root
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=createvm
[Install]
WantedBy=multi-user.target