23 lines
395 B
Plaintext
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
|