mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-11 04:58:16 +03:00
M #-: Allow fireedge to bind to <1024 ports (#3045)
This commit is contained in:
parent
373815a085
commit
e1b5bc6b44
@ -10,6 +10,7 @@ AssertFileNotEmpty=/var/lib/one/.one/sunstone_auth
|
||||
Type=simple
|
||||
Group=oneadmin
|
||||
User=oneadmin
|
||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||
ExecStartPre=-/usr/sbin/logrotate -f /etc/logrotate.d/opennebula-fireedge -s /var/lib/one/.logrotate.status
|
||||
ExecStartPre=-/bin/sh -c 'for file in /var/log/one/fireedge*.log; do if [ ! -f "$file.gz" ]; then gzip -9 "$file"; fi; done'
|
||||
ExecStart=/bin/sh -c 'exec node /usr/lib/one/fireedge/dist/index.js >>/var/log/one/fireedge.log 2>>/var/log/one/fireedge.error'
|
||||
|
Loading…
x
Reference in New Issue
Block a user