This repository has been archived on 2024-05-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
pi-imgtank/tools/install-piimgtank
T
2021-08-03 13:14:53 +02:00

28 lines
815 B
Bash
Executable File

#!/bin/bash
# ---------------------------------------------------------------------------
# This script installs files and services specific to the pi-imgtank.
#
# Author: Bernhard Bablok
# License: GPL3
#
# Website: https://github.com/bablokb/pi-imgtank
#
# ---------------------------------------------------------------------------
# --- basic packages ------------------------------------------------------
apt-get update
apt-get -y install rsync graphicsmagick exfat-fuse
# --- install specific files ----------------------------------------------
rsync -avz $(dirname "$0")/../files/ /
# --- enable/restart services ---------------------------------------------
systemctl enable endofboot.service
systemctl enable img_upload.path
systemctl start endofboot.service
systemctl start img_upload.path