Use conffiles
This commit is contained in:
		
							
								
								
									
										10
									
								
								Cargo.toml
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Cargo.toml
									
									
									
									
									
								
							@@ -40,12 +40,16 @@ suggests = "mysql-server-8.0, nginx"
 | 
			
		||||
maintainer-scripts = "debian"
 | 
			
		||||
assets = [
 | 
			
		||||
    ["target/release/reminder-rs", "usr/bin/reminder-rs", "755"],
 | 
			
		||||
    ["conf/default.env", "etc/reminder-rs/default.env", "600"],
 | 
			
		||||
    ["conf/default.env", "etc/reminder-rs/config.env", "600"],
 | 
			
		||||
    ["conf/Rocket.toml", "etc/reminder-rs/Rocket.toml", "600"],
 | 
			
		||||
    ["web/static/**/*", "lib/reminder-rs/static", "666"],
 | 
			
		||||
    ["web/templates/**/*", "lib/reminder-rs/templates", "666"],
 | 
			
		||||
    ["web/static/**/*", "lib/reminder-rs/static", "644"],
 | 
			
		||||
    ["web/templates/**/*", "lib/reminder-rs/templates", "644"],
 | 
			
		||||
#    ["nginx/reminder-rs", "etc/nginx/sites-available/reminder-rs", "755"]
 | 
			
		||||
]
 | 
			
		||||
conf-files = [
 | 
			
		||||
    "/etc/reminder-rs/config.env",
 | 
			
		||||
    "/etc/reminder-rs/Rocket.toml",
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
[package.metadata.deb.systemd-units]
 | 
			
		||||
unit-scripts = "systemd"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user