diff options
author | Lopo | 2015-11-29 14:13:17 +0100 |
---|---|---|
committer | Lopo | 2015-11-29 14:13:17 +0100 |
commit | a254427c819a11a01dbd467f2da6c79e13e53e57 (patch) | |
tree | d3f46911f9a4012aaad472c45dcca0fa198a1026 /gitlab-mailroom.service | |
parent | 46c8ce39b4802ba5973a3040380227fdafd33202 (diff) | |
download | aur-a254427c819a11a01dbd467f2da6c79e13e53e57.tar.gz |
v8.2.1
Diffstat (limited to 'gitlab-mailroom.service')
-rw-r--r-- | gitlab-mailroom.service | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gitlab-mailroom.service b/gitlab-mailroom.service new file mode 100644 index 000000000000..b659a567183a --- /dev/null +++ b/gitlab-mailroom.service @@ -0,0 +1,21 @@ +[Unit] +Description=Gitlab mailroom Worker +Requires=gitlab-unicorn.service +Wants=gitlab-unicorn.service +After=gitlab-unicorn.service + +[Service] +User=gitlab +Group=gitlab +Environment=RAILS_ENV=production PATH=/opt/ruby2.1/bin:/usr/bin +WorkingDirectory=<DATADIR> +SyslogIdentifier=gitlab-mailroom +PIDFile=/run/gitlab/gitlab-mailroom.pid +Type=oneshot +RemainAfterExit=yes + +ExecStart=<DATADIR>/bin/mail_room start +ExecStop=<DATADIR>/bin/mail_room stop + +[Install] +WantedBy=multi-user.target
\ No newline at end of file |