We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4850d38 commit 359c932Copy full SHA for 359c932
src/tools/build_clientdeb.sh
@@ -40,6 +40,8 @@ mkdir -p root
40
cd root
41
mkdir -p "./usr/sbin/"
42
cp "../../${PACKAGE_NAME}" "./usr/sbin/"
43
+mkdir -p "./usr/lib/systemd/system/"
44
+cp "../reqrypt.service" "./usr/lib/systemd/system/"
45
tar cz --owner root --group root -f ../data.tar.gz .
46
md5sum `find ../root/ -type f -printf "%P "` > md5sums
47
mv md5sums ../client.deb/
src/tools/reqrypt.service
@@ -0,0 +1,13 @@
1
+[Unit]
2
+Description=ReQrypt Client
3
+After=network.target
4
+
5
+[Service]
6
+Type=simple
7
+User=root
8
+PIDFile=/run/reqrypt.pid
9
+ExecStart=/usr/bin/reqrypt --no-launch-ui
10
+ExecStop=/bin/kill -s INT $MAINPID
11
12
+[Install]
13
+WantedBy=multi-user.target
0 commit comments