gateway.service 365 Bytes
[Unit]
Description=The Virtual Gateway
After=syslog.target network.target remote-fs.target nss-lookup.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
Environment="LD_LIBRARY_PATH=/opt/stack/lib"

[Install]
WantedBy=multi-user.target