diff options
author | Melvin Vermeeren | 2017-11-16 22:29:57 +0100 |
---|---|---|
committer | Melvin Vermeeren | 2017-11-16 22:29:57 +0100 |
commit | 5ad463d9ef85a43211784ac6085418cb63ebe797 (patch) | |
tree | cbecdee5fb18e3c34cbf65f1abd911c18ae907ed /gitlab-pages.service | |
download | aur-5ad463d9ef85a43211784ac6085418cb63ebe797.tar.gz |
0.6.0 (tested on own server, works nicely)
Diffstat (limited to 'gitlab-pages.service')
-rw-r--r-- | gitlab-pages.service | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gitlab-pages.service b/gitlab-pages.service new file mode 100644 index 000000000000..f3252552e68e --- /dev/null +++ b/gitlab-pages.service @@ -0,0 +1,23 @@ +[Unit] +Description=GitLab Pages +After=syslog.target network.target +ConditionFileIsExecutable=/usr/bin/gitlab-pages + +[Service] +User=gitlab +Group=gitlab +StartLimitInterval=5 +StartLimitBurst=10 +ExecStart=/usr/bin/gitlab-pages -config /etc/gitlab-pages/config.cfg +Restart=always +RestartSec=120 +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=gitlab-pages +PrivateTmp=true +ProtectSystem=full +ProtectHome=true +CapabilityBoundingSet= + +[Install] +WantedBy=multi-user.target |