diff options
Diffstat (limited to 'gitlab-server/usr/share/gitlab-install/systemd-units/redis.service')
-rw-r--r-- | gitlab-server/usr/share/gitlab-install/systemd-units/redis.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gitlab-server/usr/share/gitlab-install/systemd-units/redis.service b/gitlab-server/usr/share/gitlab-install/systemd-units/redis.service new file mode 100644 index 00000000..c936f8da --- /dev/null +++ b/gitlab-server/usr/share/gitlab-install/systemd-units/redis.service @@ -0,0 +1,13 @@ +[Unit] +Description=Redis Server +After=network.target + +[Service] +Type=simple +ExecStart=/usr/bin/redis-server +ExecStop=/bin/kill -15 $MAINPID +PIDFile=/var/run/redis.pid +Restart=always + +[Install] +WantedBy=multi-user.target |