1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
[Unit]
Description=gitpocket git host
After=network.target
[Service]
User=git
Group=git
ExecStart=/usr/local/bin/gitpocket -root /srv/gitpocket serve -listen 127.0.0.1:3200 -host git.example.org
Restart=always
RestartSec=2
Environment=GOMEMLIMIT=192MiB
MemoryHigh=384M
MemoryMax=512M
TasksMax=256
NoNewPrivileges=yes
PrivateTmp=yes
ProtectSystem=strict
ProtectHome=yes
ReadWritePaths=/srv/gitpocket
[Install]
WantedBy=multi-user.target
|