Improve README and install some extra files via CMake

This commit is contained in:
Matteo Settenvini 2024-06-22 16:49:50 +02:00
parent 804ab6ef36
commit e3aca4fe72
6 changed files with 88 additions and 10 deletions

19
serves3@.service Normal file
View file

@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: © Matteo Settenvini <matteo.settenvini@montecristosoftware.eu>
# SPDX-License-Identifier: CC0-1.0
[Unit]
Description=ServeS3, a S3 proxy
StartLimitInterval=100
StartLimitBurst=10
[Service]
Type=simple
ExecStart=/usr/local/bin/serves3
WorkingDirectory=/etc/serves3/%i/
Environment=ROCKET_PORT=%i
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target