diff options
Diffstat (limited to 'dev-vcs/git-srht/files/git.sr.ht-api.service')
-rw-r--r-- | dev-vcs/git-srht/files/git.sr.ht-api.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-vcs/git-srht/files/git.sr.ht-api.service b/dev-vcs/git-srht/files/git.sr.ht-api.service new file mode 100644 index 0000000..c41c2fc --- /dev/null +++ b/dev-vcs/git-srht/files/git.sr.ht-api.service @@ -0,0 +1,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 |