diff --git a/Signal-Server.sh b/Signal-Server.sh index b082129..71af974 100755 --- a/Signal-Server.sh +++ b/Signal-Server.sh @@ -4,7 +4,7 @@ # # (torn, 2017-01-19) -jar="/home/cable/Signal-Server/target/TextSecureServer-1.21.jar" +jar="/home/cable/Signal-Server/target/TextSecureServer-1.21+1.jar" conf="/home/cable/Signal-Server/config/production.yml" /bin/java -jar "$jar" server "$conf" diff --git a/minio-wrapper.sh b/minio-wrapper.sh new file mode 100755 index 0000000..edebf82 --- /dev/null +++ b/minio-wrapper.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +# Simple wrapper for Minio +# +# (torn, 2017-01-26) + +bin="/home/cable/minio/minio" +conf="/home/cable/minio/conf/" +buckets="/home/cable/minio/buckets/" +addr="127.0.0.1:9000" + +export MINIO_BROWSER=off + +$bin server -C "$conf" --address "$addr" --quiet "$buckets" + diff --git a/minio.service b/minio.service new file mode 100644 index 0000000..6531145 --- /dev/null +++ b/minio.service @@ -0,0 +1,13 @@ +[Unit] +Description=Minio Cloud Storage +After=network.target + +[Service] +ExecStart=/home/cable/bin/minio-wrapper.sh +Restart=on-failure +User=cable +Group=cable + +[Install] +WantedBy=multi-user.target +