engine.service 335 Bytes
[Unit]
Description=The Virtual Engine
After=syslog.target network.target remote-fs.target nss-lookup.target local-fs.target

[Service]
Type=oneshot
ExecStartPre=/root/bin/decryptopt.py
ExecStop=/opt/stack/script/ctlscript.sh stop
ExecStart=/opt/stack/script/ctlscript.sh start
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target