diff options
author | Kanagaraj Manickam <mkr1481@gmail.com> | 2019-03-12 19:29:07 +0800 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2019-03-12 20:16:39 +0800 |
commit | aba6ec311d40741e990b22e52051fdf66f8e95c5 (patch) | |
tree | 4e0513b9941cc3528a661b39630ae3dcbe9a3508 /deployment/zip/src/main/release/conf/oclip.service | |
parent | d93bd257f9afd7b610fee31ef921fbd1aa300417 (diff) |
Add systemd for oclip service
Issue-ID: CLI-129
Change-Id: I763afc46b31644700f10b3de191cf89463536aa4
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'deployment/zip/src/main/release/conf/oclip.service')
-rw-r--r-- | deployment/zip/src/main/release/conf/oclip.service | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/deployment/zip/src/main/release/conf/oclip.service b/deployment/zip/src/main/release/conf/oclip.service new file mode 100644 index 00000000..1492ac0d --- /dev/null +++ b/deployment/zip/src/main/release/conf/oclip.service @@ -0,0 +1,22 @@ +# +#systemd file: /etc/systemd/system/oclip.service +# +[Unit] +Description=Open CLI Platform gRPC service + +[Service] +#User=ubuntu + +#change this to your workspace +WorkingDirectory=/opt/oclip + +#path to executable. +ExecStart=/opt/oclip/bin/oclip-service.sh + +#SuccessExitStatus=143 +#TimeoutStopSec=10 +#Restart=on-failure +#RestartSec=5 + +[Install] +WantedBy=multi-user.target |