Projects
restic
rest-server
rest-server-0.14.0_fix_service_file.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rest-server-0.14.0_fix_service_file.patch of Package rest-server
diff -up rest-server-0.14.0/examples/systemd/rest-server.service.org rest-server-0.14.0/examples/systemd/rest-server.service --- rest-server-0.14.0/examples/systemd/rest-server.service.org 2025-06-07 20:57:35.284375100 +0200 +++ rest-server-0.14.0/examples/systemd/rest-server.service 2025-06-07 21:01:54.937725803 +0200 @@ -8,9 +8,10 @@ After=rest-server.socket [Service] Type=simple # You may prefer to use a different user or group on your system. -User=www-data -Group=www-data -ExecStart=/usr/local/bin/rest-server --path /path/to/backups +User=rest-server +Group=rest-server +EnvironmentFile=/etc/sysconfig/rest-server +ExecStart=/usr/sbin/rest-server --path "${REST_SERVER_HOMEDIR}" --log "${REST_SERVER_LOGDIR}/access.log" $REST_SERVER_OPTIONS Restart=always RestartSec=5 @@ -22,10 +23,6 @@ RestartSec=5 # in rest-server or in the libraries, tools and operating system components # which it relies upon. -# IMPORTANT! -# The following line must be customised to your individual requirements. -ReadWritePaths=/path/to/backups - # Files in the data repository are only user accessible by default. Default to # `UMask=077` for consistency. To make created files group-readable, set to # `UMask=007` and pass `--group-accessible-repos` to rest-server via `ExecStart`.
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.