Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DTPDEVEL and version 2022.1

...

Code Block
[Unit]
Description=Parasoft DTP Server
# Wait for the network services to be started first
Wants=network.target
After=network.target

# When the database is MySQL and on the local machine...
# Wants=mysql.service
# After=mysql.service

[Service]
# User/Group should be consistent with DTP installation owner
User=devtest
Group=devtest

Type=simple
ExecStart=/home/devtest/parasoft/dtp/bin/dtp.sh run
ExecStop=/home/devtest/parasoft/dtp/bin/dtp.sh stop
# Set maximum file descriptor limit to max
LimitNOFILE=65536
SuccessExitStatus=143 SIGKILL
Restart=on-failure

[Install]
WantedBy=multi-user.target

Scroll Pagebreak
For DTP Data Collector:

Code Block
[Unit]
Description=Parasoft DTP Data Collector Service
# Wait for the network services to be started first
Wants=network.target
After=network.target

# When the database is MySQL and on the local machine...
# Wants=mysql.service
# After=mysql.service

[Service]
# User/Group should be consistent with DTP installation owner
User=devtest
Group=devtest

Type=simple
ExecStart=/home/devtest/parasoft/dtp/bin/datacollector.sh run
ExecStop=/home/devtest/parasoft/dtp/bin/datacollector.sh stop
# Set maximum file descriptor limit to max
LimitNOFILE=65536
SuccessExitStatus=143 SIGKILL
Restart=on-failure

[Install]
WantedBy=multi-user.target

Scroll Pagebreak
For DTP Enterprise Pack (if installed):

...