/lib/systemd/system/opennebula-flow.service is in opennebula-flow 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 17 | [Unit]
Description=OpenNebula Flow Service
After=network.target
After=opennebula.service
RequiresMountsFor=/var/lib/one/.one/oneflow_auth
[Service]
Type=simple
Group=oneadmin
User=oneadmin
ExecStartPre=-/bin/sh -c '[ -s "/var/lib/one/.one/oneflow_auth" ] || /bin/sleep 2s'
ExecStart=/usr/bin/ruby /usr/lib/one/oneflow/oneflow-server.rb
PIDFile=/var/run/one/oneflow.pid
[Install]
WantedBy=multi-user.target
|