PKGBUILDs/community/gitlab/gitlab-backup.service
2016-12-10 18:01:59 +00:00

20 lines
413 B
Desktop File

[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 PATH=/opt/ruby/bin:/usr/bin
CapabilityBoundingSet=
PrivateTmp=true
PrivateDevices=true
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
ExecStart=/usr/bin/bundle exec rake gitlab:backup:create