Added systemctl examples for the services.

This commit is contained in:
Pinga 2023-12-24 12:23:13 +02:00
parent 040428bdab
commit 71358be2e2
5 changed files with 120 additions and 4 deletions

19
docs/epp.service Normal file
View file

@ -0,0 +1,19 @@
[Unit]
Description=EPP Server
After=network.target
[Service]
Type=simple
User=root
Group=root
Restart=on-failure
ExecStart=/usr/bin/php /opt/registry/epp/start_epp.php
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/bin/kill -INT $MAINPID
WorkingDirectory=/opt/registry/epp
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=epp
[Install]
WantedBy=multi-user.target