diff options
author | Valery Piashchynski <[email protected]> | 2020-04-08 18:20:44 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-04-08 18:20:44 +0300 |
commit | 1208d22e53b0f3718c8c7f9e6a7f04672985e238 (patch) | |
tree | 4bff2855103941c533311907a16351938df28c33 /systemd | |
parent | f2d4a57c7be5716fc6fd341ff978c90820ce0870 (diff) |
rr.service unit file
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/rr.service | 11 |
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 |