-
-
Save plainbanana/5d0f8b22545b17ce5aabdf053050fa67 to your computer and use it in GitHub Desktop.
h2o systemd service file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=H2O the optimized HTTP/1, HTTP/2 server | |
After=syslog.target network.target remote-fs.target nss-lookup.target | |
[Service] | |
Type=forking | |
PIDFile=/var/run/h2o/h2o.pid | |
ExecStartPre=/usr/local/bin/h2o -c /etc/h2o/h2o.conf -t | |
ExecStart=/usr/local/bin/h2o -c /etc/h2o/h2o.conf -m daemon | |
ExecReload=/bin/kill -s HUP $MAINPID | |
ExecStop=/bin/kill -s QUIT $MAINPID | |
PrivateTmp=true | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment