20 lines
406 B
SYSTEMD
20 lines
406 B
SYSTEMD
|
[Unit]
|
||
|
Description=GitLab Backup process
|
||
|
Requires=
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
User=gitlab
|
||
|
Group=gitlab
|
||
|
SyslogIdentifier=gitlab-backup
|
||
|
WorkingDirectory=/usr/share/gitlab
|
||
|
EnvironmentFile=/usr/share/gitlab/environment
|
||
|
CapabilityBoundingSet=
|
||
|
PrivateTmp=true
|
||
|
PrivateDevices=true
|
||
|
ProtectSystem=full
|
||
|
ProtectHome=true
|
||
|
NoNewPrivileges=true
|
||
|
ExecStart=/usr/bin/bundle exec rake gitlab:backup:create
|