mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-04 00:31:50 +02:00
Added systemctl examples for the services.
This commit is contained in:
parent
040428bdab
commit
71358be2e2
5 changed files with 120 additions and 4 deletions
19
docs/epp.service
Normal file
19
docs/epp.service
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue