mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 00:05:09 +00:00
ci: fix pre-commit
This commit is contained in:
parent
f24b1d1ab6
commit
ec9d894804
1 changed files with 8 additions and 7 deletions
|
|
@ -87,28 +87,29 @@ Podman (the POD MANager) is a tool for managing containers and images, volumes m
|
|||
- `podman exec -ti erpnext_backend_1 /bin/bash`
|
||||
- `bench new-site myerp.net --mariadb-root-password 123456 --admin-password 123123`
|
||||
- `bench --site myerp.net install-app erpnext`
|
||||
|
||||
## Autostart pod
|
||||
|
||||
## Autostart pod
|
||||
|
||||
- Systemd is the best option on autostart pods when the system boots. Create a unit file in either `/etc/systemd/system` [for root user] or `~/.config/systemd/user` [for non-root user]
|
||||
|
||||
|
||||
```ruby
|
||||
[Unit]
|
||||
Description=Podman system daemon service
|
||||
After=network-online.target
|
||||
|
||||
|
||||
[Service]
|
||||
#User=
|
||||
#Group=
|
||||
Type=oneshot
|
||||
ExecStart=podman pod start POD_NAME
|
||||
|
||||
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
```
|
||||
**Note:** Replace POD_NAME with a created pod name while creating a pod. This is a basic systemd unit file to autostart pod, but multiple options can be used, refer to the man page for [systemd](https://man7.org/linux/man-pages/man1/init.1.html). For better management of containers, [Quadlet](https://docs.podman.io/en/v4.4/markdown/podman-systemd.unit.5.html) is the best option for ease of updating and tracing issues on each container.
|
||||
|
||||
**Note:** Replace POD_NAME with a created pod name while creating a pod. This is a basic systemd unit file to autostart pod, but multiple options can be used, refer to the man page for [systemd](https://man7.org/linux/man-pages/man1/init.1.html). For better management of containers, [Quadlet](https://docs.podman.io/en/v4.4/markdown/podman-systemd.unit.5.html) is the best option for ease of updating and tracing issues on each container.
|
||||
|
||||
## Troubleshoot
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue