[Unit] Description=HHVM FastCGI application server After=syslog.target network.target [Service] PIDFile=/run/hhvm-%i/hhvm-%i.pid PrivateTmp=true User=%i Group=%i ExecStart=/usr/bin/hhvm --config=/etc/hhvm/php.ini --config=/etc/hhvm/server.ini --mode=daemon -vServer.Type=fastcgi -vServer.FileSocket=/var/run/hhvm-%i/socket -vPidFile=/run/hhvm-%i/hhvm-%i.pid -vRepo.Central.Path=/run/%i/%i.repo Restart=on-failure RuntimeDirectory=%i-hhvm [Install] WantedBy=multi-user.target