Delete 'template_service.service'
This commit is contained in:
parent
afaea1cf9d
commit
84b0a2bc8f
|
@ -1,26 +0,0 @@
|
|||
# folder: ~/.config/systemd/user/
|
||||
|
||||
[Unit]
|
||||
Description=Example Container
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
# set the folder here
|
||||
WorkingDirectory=$HOME/compose/example_container
|
||||
|
||||
KillMode=none
|
||||
|
||||
RestartSec=10
|
||||
Restart=on-failure
|
||||
|
||||
# Clean-up the containers that may still be alive
|
||||
ExecStartPre=$HOME/.local/bin/podman-compose down
|
||||
|
||||
# Start
|
||||
ExecStart=$HOME/.local/bin/podman-compose up
|
||||
|
||||
# Stop
|
||||
ExecStop=$HOME/.local/bin/podman-compose down
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Loading…
Reference in a new issue