mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-05 01:01:30 +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/rdap.service
Normal file
19
docs/rdap.service
Normal file
|
@ -0,0 +1,19 @@
|
|||
[Unit]
|
||||
Description=RDAP Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
Restart=on-failure
|
||||
ExecStart=/usr/bin/php /opt/registry/rdap/start_rdap.php
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
ExecStop=/bin/kill -INT $MAINPID
|
||||
WorkingDirectory=/opt/registry/rdap
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=rdap
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue