[Unit] Description=Apache Felix OSGi Container Wants=network.target After=network.target [Service] Type=simple User=osgi Group=osgi PermissionsStartOnly=true ExecStartPre=/usr/share/osgi-runner/sh/check-or-create-hostkey.sh ExecStart=/usr/sbin/osgi-runner-run ExecReload=/bin/kill -3 $MAINPID [Install] WantedBy=multi-user.target