mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 09:03:02 +00:00
feat: add minimal-connector to compose
This commit is contained in:
10
systemd/minimal-connector.service
Normal file
10
systemd/minimal-connector.service
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Restarts the "minimal-connector-0.23" container
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=root
|
||||
ExecStart=/usr/bin/env docker restart minimal-connector-0.23
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
8
systemd/minimal-connector.timer
Normal file
8
systemd/minimal-connector.timer
Normal file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Run the minimal-connector.service every 5 minutes. If you need other timer configurations, please refer to: https://wiki.archlinux.org/index.php/Systemd/Timers
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*:0/5
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user