This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 8080; | |
server_name www.icinga.lc; | |
root /usr/share/icingaweb2/public; #Path of icinga2 web directory | |
index index.php; | |
access_log /var/log/nginx/access.log; | |
error_log /var/log/nginx/error.log; | |
location = /favicon.ico { | |
log_not_found off; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Init script for Artifactory service (currently systemd) | |
# | |
# chkconfig: 345 86 14 | |
# description: Artifactory Tomcat Servlet Engine | |
# processname: artifactory | |
# pidfile: /var/opt/jfrog/run/artifactory.pid | |
# | |
### BEGIN INIT INFO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Setup Systemd script for Artifactory in Tomcat Servlet Engine | |
After=network.target | |
[Service] | |
Type=forking | |
GuessMainPID=yes | |
Restart=always | |
RestartSec=5 | |
PIDFile=/var/opt/jfrog/run/artifactory.pid |