Dmitriy Zabolotskiy
f88fe1092d
Debian package includes: - user creation; - directories and permissions; - unit file for systemd Signed-off-by: Dmitriy Zabolotskiy <d.zabolotskiy@yadro.com>
16 lines
304 B
Desktop File
16 lines
304 B
Desktop File
[Unit]
|
|
Description=NeoFS HTTP Gateway
|
|
Requires=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/neofs-http-gw --config /etc/neofs/http/config.yaml
|
|
User=neofs-http
|
|
Group=neofs-http
|
|
WorkingDirectory=/srv/neofs_cache
|
|
Restart=always
|
|
RestartSec=5
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|