Skip to content

Instantly share code, notes, and snippets.

@mrdaemon
Created October 26, 2012 19:56
Show Gist options
  • Save mrdaemon/3961083 to your computer and use it in GitHub Desktop.
Save mrdaemon/3961083 to your computer and use it in GitHub Desktop.
[tech3@box ~]$ sudo systemctl status nginx.service
nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled)
Active: active (running) since Fri, 26 Oct 2012 15:43:28 -0400; 2s ago
Process: 3114 ExecStop=/bin/kill -s QUIT $MAINPID (code=exited, status=0/SUCCESS)
Process: 3121 ExecStart=/usr/sbin/nginx (code=exited, status=0/SUCCESS)
Process: 3118 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=0/SUCCESS)
Main PID: 3122 (nginx)
CGroup: name=systemd:/system/nginx.service
├ 3122 nginx: master process /usr/sbin/nginx
└ 3123 nginx: worker process
Oct 26 15:43:28 box.domain.local nginx[3118]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Oct 26 15:43:28 box.domain.local nginx[3118]: nginx: configuration file /etc/nginx/nginx.conf test is successful
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment