d43d3fce86
Merge source and RHEL elements, allowing both source and package based installations. Allow amphora agent install from distribution packages (not limited to RHEL) Add a new option to diskimage-create.sh script to do so (default is kept to source installation from Octavia git tree) For now, amphorae built with distribution packages will have SELinux (when available) running in permissive mode. Made the rebind-sshd element generic to streamline the script Use POSIX syntax for logrotate kill command Change-Id: I391b2a95d54c7b9fd8f31d3e2c136ff9cc3451f1
15 lines
377 B
Desktop File
15 lines
377 B
Desktop File
[Unit]
|
|
Description=OpenStack Octavia Amphora Agent
|
|
After=network.target syslog.service
|
|
Wants=syslog.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/local/bin/amphora-agent --config-file /etc/octavia/amphora-agent.conf
|
|
KillMode=mixed
|
|
Restart=always
|
|
ExecStartPost=/bin/sh -c "echo $MAINPID > /var/run/amphora-agent.pid"
|
|
PIDFile=/var/run/amphora-agent.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|