fix: podman user called by systemd
This commit is contained in:
parent
ba94509bca
commit
10e58eb990
@ -6,6 +6,8 @@ After=network-online.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
|
User={{ ansible_user }}
|
||||||
|
Group={{ ansible_user }}
|
||||||
WorkingDirectory={{ podman_projects_dir }}/immich
|
WorkingDirectory={{ podman_projects_dir }}/immich
|
||||||
ExecStart=/usr/bin/podman-compose up -d
|
ExecStart=/usr/bin/podman-compose up -d
|
||||||
ExecStop=/usr/bin/podman-compose down
|
ExecStop=/usr/bin/podman-compose down
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user