2016년 5월 29일 일요일

apache.service

[Unit]
Description=Apache Web Server.
After=network.target


[Service]
Type=simple
ExecStart=/apm/server/apache/bin/httpd $OPTIONS -DFOREGROUND
ExecStop=/apm/server/apache/bin/httpd $OPTIONS -k graceful-stop
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
RestartSec=42s


[Install]
WantedBy=multi-user.target

댓글 없음:

댓글 쓰기