Back to home page

Enduro/X

 
 

    


0001 [Unit]
0002 Description=Enduro/X Service
0003 After=network.target
0004 
0005 [Service]
0006 Type=forking
0007 User=user1
0008 ExecStart=/bin/bash -c "source /home/user1/endurox/sampleconfig/setndrx; xadmin start -y"
0009 ExecStop=/bin/bash -c "source /home/user1/endurox/sampleconfig/setndrx; xadmin stop -y"
0010 #
0011 # configure tprecover to reboot ndrxd in recovery mode.
0012 # otherwise we may get corrupted system with several ndrxd's
0013 #
0014 Restart=no
0015 LimitMSGQUEUE=infinity
0016 #
0017 # pid of ndrxd, see [@global]/NDRX_DPID setting of the app.ini
0018 #
0019 PIDFile=/tmp/ndrxd.pid
0020 
0021 [Install]
0022 WantedBy=multi-user.target