Example Silver-fabric-engine.service Script

The following is an example of a silver-fabric-engine.service script. This needs to be placed at location from where init services are read based on network architecture. For example, for CentOS 7, place it at /etc/systemd/system.

[Unit]
Description=Tibco Silver Fabric Engine Service
Requires=cloud-init.service nfs-client.target
After=cloud-init.service nfs-client.target 

[Service]
Type=forking
PIDFile=/opt/sfengine.pid
ExecStart=/opt/sfengine start
ExecStop=/opt/sfengine stop 
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
Alias=sfengine.service