All pastes #765997 Raw Edit

Something

public text v1 · immutable
·published 2007-11-08 15:17 UTC
rendered paste body
#include <unistd.h>
#include <stdio.h>

int main(int argc, char** argv)
{
    const char* const HTTPD = "/usr/sbin/apache2ctl";
    printf("Reloading httpd configuration\n");
    execl(HTTPD, HTTPD, "-k", "graceful", NULL);
}