Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=app
- After=network-online.target
- [Service]
- Type=oneshot
- ExecStart=/bin/true
- RemainAfterExit=yes
- [Install]
- WantedBy=multi-user.target
- [Unit]
- Description=api-scopes-unit1
- PartOf=api-scopes.service
- After=api-scopes.service
- [Service]
- Type=notify
- Environment=PORT=3001
- ExecStart=/usr/bin/start-server.sh
- Restart=on-failure
- [Install]
- WantedBy=api-scopes.service
- [Unit]
- Description=api-scopes-unit2
- PartOf=api-scopes.service
- After=api-scopes.service
- After=api-scopes-unit1.service
- [Service]
- Type=notify
- Environment=PORT=3002
- ExecStart=/usr/bin/start-server.sh
- Restart=on-failure
- [Install]
- WantedBy=api-scopes.service
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement