~sircmpwn/sr.ht-pkgbuilds

ref: eb016e0678dcb7c4643a8b42e39f7df7ef3b683f sr.ht-pkgbuilds/git.sr.ht/git.sr.ht-api.service -rw-r--r-- 266 bytes View raw
eb016e06Eli Schwartz git.sr.ht: upgrade to latest version and add the API service a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=git.sr.ht API service
Requires=redis.service postgresql.service
After=redis.service postgresql.service network.target

[Service]
Type=simple
User=gitsrht
Restart=always
ExecStart=/usr/bin/gitsrht-api -b :5101

[Install]
WantedBy=multi-user.target