mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
20 lines
413 B
SYSTEMD
20 lines
413 B
SYSTEMD
|
[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
|