1
0
mirror of https://github.com/inexio/thola.git synced 2026-10-24 03:08:55 +03:00
Files
thola/scripts/post-uninstall.sh
2021-04-12 18:11:00 +02:00

8 lines
140 B
Bash

#!/bin/bash
if [[ "$1" != "upgrade" ]]; then
systemctl stop thola
systemctl disable thola
rm -f /lib/systemd/system/thola.service
fi