diff options
author | Mauro Sardara <msardara+fdio@cisco.com> | 2017-06-06 14:21:51 +0200 |
---|---|---|
committer | Mauro Sardara <msardara+fdio@cisco.com> | 2017-06-06 16:31:16 +0200 |
commit | e02a10dac7d80b3ee025a3a605d1016006e539f6 (patch) | |
tree | ad3b29792803fc50ab1c95bd65123909e267c460 /config | |
parent | e58b5b6aaac9f4ed94fc30678fe36090523f3915 (diff) |
Adding service files for running http-server as a systemd service
Change-Id: If033d8c1526a118bc902c4fc3717b05d0b422a5d
Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/hicn-http-server.service | 29 | ||||
-rw-r--r-- | config/http-server.service | 29 |
2 files changed, 58 insertions, 0 deletions
diff --git a/config/hicn-http-server.service b/config/hicn-http-server.service new file mode 100644 index 00000000..20b73c38 --- /dev/null +++ b/config/hicn-http-server.service @@ -0,0 +1,29 @@ +# Copyright (c) 2015, Cisco Systems +# +# This file is part of the NDN connectivity-manager. +# See AUTHORS.md for complete list of authors and contributors. +# +# This program is free software: you can redistribute it and/or modify it under the terms +# of the GNU General Public License as published by the Free Software Foundation, +# either version 3 of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; +# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>. +# +# Author: Mauro Sardara <mauro.sardara@cisco.com> + +[Unit] +Description=Http Server using tcp/icn as tranport protocol +#Documentation=man:http-server +Requires=hicn-forwarder.service + +[Service] +ExecStart=/usr/bin/hicn-http-server +Restart=on-failure + +[Install] +WantedBy=multi-user.target diff --git a/config/http-server.service b/config/http-server.service new file mode 100644 index 00000000..75a4f7b0 --- /dev/null +++ b/config/http-server.service @@ -0,0 +1,29 @@ +# Copyright (c) 2015, Cisco Systems +# +# This file is part of the NDN connectivity-manager. +# See AUTHORS.md for complete list of authors and contributors. +# +# This program is free software: you can redistribute it and/or modify it under the terms +# of the GNU General Public License as published by the Free Software Foundation, +# either version 3 of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; +# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>. +# +# Author: Mauro Sardara <mauro.sardara@cisco.com> + +[Unit] +Description=Http Server using tcp/icn as tranport protocol +#Documentation=man:http-server +Requires=metis-forwarder.service + +[Service] +ExecStart=/usr/bin/http-server +Restart=on-failure + +[Install] +WantedBy=multi-user.target |