feat(devops): services example
This commit is contained in:
parent
976612057a
commit
6d7946642b
11
devops/controller.service
Normal file
11
devops/controller.service
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=TR-369 Controller
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/controller -u 'root' -P '<password to broker>' -mongo '<mongoDB address>' -p 8883 -tls
|
||||||
|
|
||||||
|
Restart=always
|
||||||
|
RestartSec=4
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
11
devops/mochi.service
Normal file
11
devops/mochi.service
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Mochi broker
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/mochi -path /home/ec2-user/oktopus/backend/services/mochi/cmd/auth.prod.json -full_chain_path /etc/letsencrypt/live/oktopus.ifsc.digital/fullchain.pem -private_key_path /etc/letsencrypt/live/oktopus.ifsc.digital/privkey.pem -redis ""
|
||||||
|
|
||||||
|
Restart=always
|
||||||
|
RestartSec=4
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Loading…
Reference in New Issue
Block a user