/lib/systemd/system/opennebula-gate.service is in opennebula-gate 4.12.3+dfsg-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | [Unit]
Description=OpenNebula Gate Service
After=network.target
After=opennebula.service
RequiresMountsFor=/var/lib/one/.one/onegate_auth
[Service]
Type=simple
Group=oneadmin
User=oneadmin
ExecStartPre=-/bin/sh -c '[ -s "/var/lib/one/.one/onegate_auth" ] || /bin/sleep 2s'
ExecStart=/usr/bin/ruby /usr/lib/one/onegate/onegate-server.rb
[Install]
WantedBy=multi-user.target
|