diff --git a/etc/systemd/system/iotronic-conductor.service b/etc/systemd/system/iotronic-conductor.service new file mode 100644 index 0000000..98d51cc --- /dev/null +++ b/etc/systemd/system/iotronic-conductor.service @@ -0,0 +1,9 @@ +[Unit] +Description=iotronic-conductor +After=network.target + +[Service] +ExecStart=/usr/local/bin/iotronic-conductor + +[Install] +WantedBy=multi-user.target diff --git a/etc/systemd/system/iotronic-wamp-agent.service b/etc/systemd/system/iotronic-wamp-agent.service new file mode 100644 index 0000000..6c0f5cd --- /dev/null +++ b/etc/systemd/system/iotronic-wamp-agent.service @@ -0,0 +1,9 @@ +[Unit] +Description=iotronic-wamp-agent +After=network.target + +[Service] +ExecStart=/usr/local/bin/iotronic-wamp-agent + +[Install] +WantedBy=multi-user.target diff --git a/setup.cfg b/setup.cfg index 4155dcb..d8d1906 100644 --- a/setup.cfg +++ b/setup.cfg @@ -35,6 +35,9 @@ data_files = etc/iotronic/policy.json /var/www/cgi-bin/iotronic = iotronic/wsgi/app.wsgi + /etc/systemd/system = + etc/systemd/system/iotronic-conductor.service + etc/systemd/system/iotronic-wamp-agent.service [build_sphinx] source-dir = doc/source