autoenable service in .deb installation
This commit is contained in:
		| @@ -4,7 +4,7 @@ Priority: optional | ||||
| Architecture: all | ||||
| Essential: no | ||||
| Installed-Size: 2000 | ||||
| Depends: python3-flask, python3-ldap3 | ||||
| Depends: python3-flask, python3-ldap3, gunicorn | ||||
| Homepage: https://gitea.dmz.rs/fram3d/luser | ||||
| Maintainer: fram3d <fram3d@dmz.rs> | ||||
| 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 | ||||
		Reference in New Issue
	
	Block a user