diff options
author | Lopo | 2015-06-17 20:07:23 +0200 |
---|---|---|
committer | Lopo | 2015-06-17 20:07:23 +0200 |
commit | 8da6485dad5022d64a64ded05e93e52dbf6a3070 (patch) | |
tree | 5e271982edf9b66135300a9c1d55a31ce1005fa2 /gitlab-backup.service | |
download | aur-8da6485dad5022d64a64ded05e93e52dbf6a3070.tar.gz |
Initial import
Diffstat (limited to 'gitlab-backup.service')
-rw-r--r-- | gitlab-backup.service | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gitlab-backup.service b/gitlab-backup.service new file mode 100644 index 000000000000..ffaa7f3d199e --- /dev/null +++ b/gitlab-backup.service @@ -0,0 +1,21 @@ +[Unit] +Description=GitLab Backup process +Requires= +After=network.target + +[Service] +Type=oneshot +User=gitlab +Group=gitlab +SyslogIdentifier=gitlab-backup +WorkingDirectory=<DATADIR> +Environment=RAILS_ENV=production + +CapabilityBoundingSet= +PrivateTmp=true +PrivateDevices=true +ProtectSystem=full +ProtectHome=true +NoNewPrivileges=true + +ExecStart=/usr/bin/bundle exec rake gitlab:backup:create
\ No newline at end of file |