Created
January 2, 2017 16:05
-
-
Save WganMe/d0f48a5abae6ab3b798deac3c5695f4c to your computer and use it in GitHub Desktop.
cat /usr/lib/systemd/system/hhvm.service
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=HipHop Virtual Machine | |
[Service] | |
PIDFile=/var/run/hhvm/hhvm.pid | |
ExecStartPre=/bin/mkdir -p /var/log/hhvm/ | |
ExecStartPre=/bin/chown -R nginx:nginx /var/log/hhvm/ | |
ExecStartPre=/bin/mkdir -p /var/run/hhvm/ | |
ExecStartPre=/bin/chown -R nginx:nginx /var/run/hhvm/ | |
ExecStart=/usr/local/bin/hhvm -m daemon -u nginx -c /etc/hhvm/server.ini -c /etc/hhvm/php.ini -c /etc/hhvm/server.conf | |
ExecStop=rm /var/run/hhvm.pid | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment