Skip to content

Instantly share code, notes, and snippets.

View sm-tester's full-sized avatar

SM sm-tester

  • SM soft
  • Uz
View GitHub Profile
@sm-tester
sm-tester / supervisord.service
Last active January 29, 2020 08:49 — forked from mozillazg/supervisord.service
install and configure supervisord on centos 7.
[Unit]
Description=supervisord - Supervisor process control system for UNIX
Documentation=http://supervisord.org
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/supervisord -c /etc/supervisord/supervisord.conf
ExecStop=/usr/bin/supervisorctl $OPTIONS shutdown
ExecReload=/usr/bin/supervisorctl $OPTIONS reloadUser=root
@sm-tester
sm-tester / LC_CTYPE.txt
Created January 22, 2020 04:24 — forked from jampajeen/LC_CTYPE.txt
Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8