autoenable service in .deb installation
This commit is contained in:
parent
359a20ea66
commit
41553b2d74
@ -4,7 +4,7 @@ Priority: optional
|
|||||||
Architecture: all
|
Architecture: all
|
||||||
Essential: no
|
Essential: no
|
||||||
Installed-Size: 2000
|
Installed-Size: 2000
|
||||||
Depends: python3-flask, python3-ldap3
|
Depends: python3-flask, python3-ldap3, gunicorn
|
||||||
Homepage: https://gitea.dmz.rs/fram3d/luser
|
Homepage: https://gitea.dmz.rs/fram3d/luser
|
||||||
Maintainer: fram3d <fram3d@dmz.rs>
|
Maintainer: fram3d <fram3d@dmz.rs>
|
||||||
Description: Web app that allows users to add,remove and change passwords in LDAP system
|
Description: Web app that allows users to add,remove and change passwords in LDAP system
|
||||||
|
3
build-deb/luser/DEBIAN/postinst
Executable file
3
build-deb/luser/DEBIAN/postinst
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
/usr/bin/systemctl enable luser.service
|
||||||
|
/sbin/service luser start
|
3
build-deb/luser/DEBIAN/prerm
Executable file
3
build-deb/luser/DEBIAN/prerm
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
/sbin/service luser stop
|
||||||
|
/usr/bin/systemdctl disable luser.service
|
Loading…
Reference in New Issue
Block a user