summaryrefslogtreecommitdiff
path: root/systemd/rr.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/rr.service')
-rw-r--r--systemd/rr.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/systemd/rr.service b/systemd/rr.service
new file mode 100644
index 00000000..6e4d5914
--- /dev/null
+++ b/systemd/rr.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=High-performance PHP application server
+
+[Service]
+Type=simple
+ExecStart=/usr/local/bin/roadrunner serve -v -d -c <path/to/.rr.yaml>
+Restart=always
+RestartSec=30
+
+[Install]
+WantedBy=default.target \ No newline at end of file