Skip to content

Instantly share code, notes, and snippets.

@slava0008
slava0008 / README.md
Created September 11, 2018 06:07 — forked from magnetikonline/README.md
Nginx & PHP-FPM systemd services.

Nginx & PHP-FPM systemd services

A set of really basic systemd configs for starting Nginx and PHP-FPM on system boot.

  • Ensures Nginx web server has started before the PHP-FPM process.
  • Nginx pid file placed at /run/nginx.pid.
  • PHP-FPM pid file placed at /run/php7/php-fpm.pid, PHP7 PHP-FPM config at /etc/php7.
  • Based on usage with Ubuntu 16.04LTS / 18.04LTS.

Unit files are placed in /etc/systemd/system and enabled with:

@slava0008
slava0008 / MiWifiRu.user.js
Last active November 17, 2023 04:42
miwifi ru
// ==UserScript==
// @name Mi WiFi Translation
// @description Перевод прошивки для роутеров Xiaomi
// @author godenkoff 2017 © (идея заимствована у SilentTwilight)
// @icon http://miwifi.com/favicon.ico
// @include *192.168.*/cgi-bin/luci/*
// @include http://miwifi.com/*
// @version 1.0a
// @namespace
// ==/UserScript==