add hermes
This commit is contained in:
parent
3f350f338d
commit
521b6b18ad
19
ansible/roles/services/files/hermes/hermes.container
Normal file
19
ansible/roles/services/files/hermes/hermes.container
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=LXC-style Persistent Toolbox
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
Rootfs=%h/containers/toolbox-rootfs
|
||||||
|
Exec=hermes gateway run
|
||||||
|
ContainerName=hermes
|
||||||
|
|
||||||
|
# Essential for permissions and persistence
|
||||||
|
#RemapUsers=keep-id
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
# Ensures systemd doesn't kill the process prematurely
|
||||||
|
Restart=always
|
||||||
|
RestartSec=60
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target default.target
|
||||||
@ -67,3 +67,7 @@ services:
|
|||||||
systemd_service_name: "trilium"
|
systemd_service_name: "trilium"
|
||||||
service_directories:
|
service_directories:
|
||||||
- data
|
- data
|
||||||
|
hermes:
|
||||||
|
systemd_service_name: "hermes"
|
||||||
|
service_directories:
|
||||||
|
- data
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user