22 lines
446 B
Desktop File
22 lines
446 B
Desktop File
[Unit]
|
|
RequiresMountsFor=/home/gib/Media
|
|
Description=Podman Compose: PostgreSQL
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
StartLimitIntervalSec=300
|
|
StartLimitBurst=3
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
WorkingDirectory=%h/Server/PostgreSQL
|
|
ExecStart=/usr/bin/podman compose up -d
|
|
ExecStop=/usr/bin/podman compose down
|
|
RemainAfterExit=yes
|
|
TimeoutStartSec=300
|
|
TimeoutStopSec=60
|
|
Restart=on-failure
|
|
RestartSec=30
|
|
|
|
[Install]
|
|
WantedBy=default.target
|