From 1208d22e53b0f3718c8c7f9e6a7f04672985e238 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 8 Apr 2020 18:20:44 +0300 Subject: rr.service unit file --- systemd/rr.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 systemd/rr.service 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 +Restart=always +RestartSec=30 + +[Install] +WantedBy=default.target \ No newline at end of file -- cgit v1.2.3