SystemD script for Automated Startup of MFTPS pDNI on UNIX
book
Article ID: KB0076675
calendar_today
Updated On:
TIBCO Managed File Transfer Platform Server for UNIX
|
All
|
Description
MFT pDNI daemon can be set to start automatically after a reboot on UNIX machines. A SystemD script can be created to facilitate this.
Environment
Tested on Linux OS
Resolution
For TIBCO MFTPS pDNI:
=====================
Prerequisite: TemplateDirectory parameter in DNIConfig.cfg needs to be configured to have the absolute path.
1. Create a Unit file in /etc/systemd/system/ title pdni.service
Systemd Unit file:
[Unit]
Description=MFTPS pDNI Service
[Service]
Type=simple
ExecStart=/bin/sh -c 'perl /mftps/dni/DNIDaemon.pl C:/mftps/dni/DNIConfig.cfg'
RemainAfterExit=true
StandardOutput=journal
[Install]
WantedBy=multi-user.target
2. Save the Unit file.
3. Run 'systemctl enable pdni.service'. // enables the service to start automatically after a reboot.
4. Run 'systemctl start pdni.service'. // starts the service
5. To check if the process is started: 'systemctl status pdni.service'.
6. To stop the service: 'systemctl stop pdni.service'.
Issue/Introduction
Automated startup of MFT pDNI services after a reboot.
Feedback
thumb_up
Yes
thumb_down
No