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.
ansible-role-warehost/warehost-ftp/templates/warehost-ftp.unit

23 lines
395 B
Plaintext

[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
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target