[Unit] Description=GitLab Backup process Requires= After=network.target [Service] Type=oneshot User=gitlab Group=gitlab SyslogIdentifier=gitlab-backup WorkingDirectory= # Prevent ExecJS from complaining that Node is not installed in production Environment=RAILS_ENV=production EXECJS_RUNTIME=Disabled CapabilityBoundingSet= PrivateTmp=true PrivateDevices=true ProtectSystem=full ProtectHome=true NoNewPrivileges=true ExecStart=/usr/bin/bundle exec rake gitlab:backup:create