/lib/systemd/system/hhvm.service is in hhvm 3.21.0+dfsg-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | [Unit]
Description=HHVM PHP/Hack runtime
Documentation=man:hhvm
After=network.target
[Service]
Environment=SYSTEM_CONFIG_FILE=/etc/hhvm/php.ini
Environment=CONFIG_FILE=/etc/hhvm/server.ini
Environment=ADDITIONAL_ARGS=
Environment=RUN_AS_USER=www-data
EnvironmentFile=-/etc/default/hhvm
ExecStart=/usr/bin/hhvm --mode server --config $SYSTEM_CONFIG_FILE --config $CONFIG_FILE -v PidFile="" --user $RUN_AS_USER $ADDITIONAL_ARGS
[Install]
WantedBy=multi-user.target
|