mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-09 14:03:20 +09:00
M #-: Allow fireedge to bind to <1024 ports (#3045)
This commit is contained in:
1 parent
373815a085
commit
e1b5bc6b44
1 file changed
+1
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user