1
0
Fork 0

Switch deploy to systemd

main
Ambrose Chua 2020-11-08 02:40:25 +08:00
parent 4996693c2c
commit 34615a3cc6
2 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,7 @@ jobs:
- name: Restart
run: |
ssh -p 26779 datetime@pricklypear.cacti.makerforce.io "podman stop datetime; podman rm datetime; podman run --detach --publish 127.0.0.1:4513:8000 --name datetime ghcr.io/serverwentdown/datetime:latest"
ssh -p 26779 datetime@pricklypear.cacti.makerforce.io "systemctl restart --user container-datetime.service"
# vim: set et ts=2 sw=2:

View File

@ -11,6 +11,7 @@
<body>
<script src="/js/theme.js"></script>
<main id="app">
<!--
<d-zone>
<d-zoneinfo>
<d-zonename>India Standard Time</d-zonename>
@ -41,6 +42,7 @@
<d-time time="04:30">04:30</d-time>
</d-zonefigure>
</d-zone>
-->
</main>
<footer>