Test Configuration
Now we can test our configuration by rebooting the server and checking the services
$ reboot $ service --status-all | grep Symantec
RHEL 8.x/9.x and above with DLP 16.0 Detection Server
- Create the file DLP-DetectionServer.service with the following contents here: /etc/systemd/system
[Unit]
Description=DLP-DetectionServerService
Requires=network.target
After=network.target
[Service]
Type=forking
ExecStart=/etc/rc.d/init.d/SymantecDLPDetectionServerService start
ExecStop=/etc/rc.d/init.d/SymantecDLPDetectionServerService stop
Restart=on-abnormal
[Install]
WantedBy=multi-user.target - Run the following commands to update the file permissions and the service state:
chmod 644 /etc/systemd/system/DLP-DetectionServer.service
cd /etc/systemd/system
systemctl enable DLP-DetectionServer.service
systemctl daemon-reload
Services should be able to start and stop after a reboot.
NOTE: if doing this on enforce you will need to replace the ExecStart, ExecStop, PreExecStart, PostExecStart and so forth with the enforce server service names.
Test Configuration
Now we can test our configuration by rebooting the server and checking the services:
$ reboot
$ service --status-all | grep Symantec
RHEL 8.x/9.x and above with DLP 16.1 Detection Server
- Create the file DLP-Connector-Detector-Services.service with the following contents here: /etc/systemd/system
[Unit]
Description=DLP-Connector-Detector-Services
Requires=network-online.target
After=network-online.target
[Service]
Type=forking
ExecStartPre=/etc/rc.d/init.d/SymantecDLPEnforceConnectorService start
ExecStart=/etc/rc.d/init.d/SymantecDLPDetectorService start
ExecStop=/etc/rc.d/init.d/SymantecDLPEnforceConnectorService stop
ExecStop=/etc/rc.d/init.d/SymantecDLPDetectorService stop
Restart=on-abnormal
[Install]
WantedBy=multi-user.target - Run the following commands to update the file permissions and the service state:
chmod 644 /etc/systemd/system/DLP-Connector-Detector-Services.service
cd /etc/systemd/system
systemctl enable DLP-Connector-Detector-Services.service
systemctl daemon-reload
For Enforce Server Services
- Create the file DLP-Enforce-Services.service with the following contents here: /etc/systemd/system
[Unit]
Description=Symantec DLP Enforce Services
Requires=network-online.target
After=network-online.target
[Service]
Type=forking
# Start services in dependency order
ExecStartPre=/etc/init.d/SymantecDLPNotifierService start
ExecStartPre=/etc/init.d/SymantecDLPManagerService start
ExecStartPre=/etc/init.d/SymantecDLPDetectionServerControllerService start
ExecStart=/etc/init.d/SymantecDLPIncidentPersisterService start
# Stop services in reverse order
ExecStop=/etc/init.d/SymantecDLPIncidentPersisterService stop
ExecStop=/etc/init.d/SymantecDLPDetectionServerControllerService stop
ExecStop=/etc/init.d/SymantecDLPManagerService stop
ExecStop=/etc/init.d/SymantecDLPNotifierService stop
RemainAfterExit=yes
TimeoutStartSec=300
TimeoutStopSec=300
[Install]
WantedBy=multi-user.target
- Run the following commands to update the file permissions and the service state:
chmod 644 /etc/systemd/system/DLP-Enforce-Services.service
cd /etc/systemd/system
systemctl enable DLP-Enforce-Services.service
systemctl daemon-reload