add deb files to gitignore and change permissions of install scripts
This commit is contained in:
parent
e5c424fff8
commit
8aa2675240
2
.gitignore
vendored
2
.gitignore
vendored
@ -234,3 +234,5 @@ tags
|
|||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/python,flask,vim,visualstudiocode
|
# End of https://www.toptal.com/developers/gitignore/api/python,flask,vim,visualstudiocode
|
||||||
|
|
||||||
|
# deb files
|
||||||
|
*.deb
|
||||||
|
@ -7,11 +7,12 @@ man: man/taskmanager.1.md
|
|||||||
deb: man ../requirments.txt ../run.py ../taskmanager ../LICENSE
|
deb: man ../requirments.txt ../run.py ../taskmanager ../LICENSE
|
||||||
cp -r ../taskmanager/* taskmanager/var/taskmanager/taskmanager/
|
cp -r ../taskmanager/* taskmanager/var/taskmanager/taskmanager/
|
||||||
cp ../run.py taskmanager/var/taskmanager/
|
cp ../run.py taskmanager/var/taskmanager/
|
||||||
|
cp ../init_db.py taskmanager/var/taskmanager/
|
||||||
cp ../LICENSE taskmanager/var/taskmanager/
|
cp ../LICENSE taskmanager/var/taskmanager/
|
||||||
chmod -w taskmanager/DEBIAN/*
|
chmod -w taskmanager/DEBIAN/*
|
||||||
chmod +w taskmanager/DEBIAN/control
|
chmod +w taskmanager/DEBIAN/control
|
||||||
dpkg-deb --build taskmanager
|
dpkg-deb --build taskmanager
|
||||||
chmod -w taskmanager/DEBIAN/*
|
chmod +w taskmanager/DEBIAN/*
|
||||||
clean:
|
clean:
|
||||||
rm -f taskmanager.deb
|
rm -f taskmanager.deb
|
||||||
rm -f man/taskmanager.1
|
rm -f man/taskmanager.1
|
||||||
|
Binary file not shown.
@ -8,4 +8,4 @@ Depends: gunicorn, python3-flask-sqlalchemy
|
|||||||
Homepage: https://gitea.dmz.rs/Decentrala/taskmanager
|
Homepage: https://gitea.dmz.rs/Decentrala/taskmanager
|
||||||
Maintainer: Decentrala <dmz@dmz.rs>
|
Maintainer: Decentrala <dmz@dmz.rs>
|
||||||
Description: Web app
|
Description: Web app
|
||||||
Version: 1.0.0
|
Version: 1.0.1
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
/usr/bin/systemctl enable taskmanager.service
|
/usr/bin/systemctl enable taskmanager.service
|
||||||
|
/var/taskmanager/init_db.py
|
||||||
/sbin/service taskmanager start
|
/sbin/service taskmanager start
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
/sbin/service taskmanager stop
|
/sbin/service taskmanager stop
|
||||||
/usr/bin/systemdctl disable taskmanager.service
|
/usr/bin/systemctl disable taskmanager.service
|
||||||
|
Loading…
Reference in New Issue
Block a user