torch-agent/torch-agent-0.0.1/debian/torch-agent/DEBIAN/prerm

8 lines
233 B
Bash
Executable File

#!/bin/sh
set -e
# Automatically added by dh_installsystemd/12.10ubuntu1
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop 'torch-agent.service' >/dev/null || true
fi
# End automatically added section