Skip to content

Instantly share code, notes, and snippets.

View ep4sh's full-sized avatar
👊

Pasha Radchenko ep4sh

👊
View GitHub Profile
[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
#!/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
@ep4sh
ep4sh / icinga2.conf
Last active June 28, 2023 14:15 — forked from vachanda/icinga2.conf
Nginx config for icinga2 web interface with php 7.2 fpm.
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;