18 lines
420 B
Plaintext
18 lines
420 B
Plaintext
[Unit]
|
|
Description=TFM aInventory Docker Stack
|
|
After=docker.service
|
|
Requires=docker.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=__WORKING_DIR__
|
|
ExecStart=/bin/bash __WORKING_DIR__/run_standalone.sh
|
|
# No explicit ExecStop needed as kill 0 in run_standalone handles it,
|
|
# but systemd handles SIGTERM by default anyway.
|
|
Restart=always
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|