frostfs-s3-gw/debian/neofs-s3-gw.service
Dmitriy Zabolotskiy 459a848c84 [#737] Debian packaging
Debian package includes:
 - user creation;
 - directories and permissions;
 - unit file for systemd

Signed-off-by: Dmitriy Zabolotskiy <d.zabolotskiy@yadro.com>
2022-11-10 15:29:38 +03:00

16 lines
295 B
Desktop File

[Unit]
Description=NeoFS S3 Gateway
Requires=network.target
[Service]
Type=simple
ExecStart=/usr/bin/neofs-s3-gw --config /etc/neofs/s3/config.yaml
User=neofs-s3
Group=neofs-s3
WorkingDirectory=/var/lib/neofs/s3
Restart=always
RestartSec=5
PrivateTmp=true
[Install]
WantedBy=multi-user.target