This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
2016-11-27 10:06:35 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Warehost ftp v2
|
|
|
|
After=syslog.target
|
|
|
|
After=network.target
|
|
|
|
After=postgresql.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
User=warehost
|
|
|
|
ExecStart=/usr/local/bin/warehost-ftp -c /etc/warehost/ftp.conf
|
|
|
|
Restart=always
|
|
|
|
|
2016-12-07 11:49:05 +01:00
|
|
|
PrivateTmp=true
|
|
|
|
PrivateDevices=true
|
|
|
|
ProtectHome=true
|
|
|
|
|
|
|
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
|
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
|
|
|
|
|
|
|
2016-11-27 10:06:35 +01:00
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|