mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-31 10:51:27 +01:00 
			
		
		
		
	Update to 2022-03-07 17:00
This commit is contained in:
		
							
								
								
									
										2
									
								
								roles/unmaintained/ethercalc/templates/env.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								roles/unmaintained/ethercalc/templates/env.j2
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| KEY={{ ethercalc_key }} | ||||
| NODE_ENV=production | ||||
							
								
								
									
										21
									
								
								roles/unmaintained/ethercalc/templates/ethercalc.service.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								roles/unmaintained/ethercalc/templates/ethercalc.service.j2
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| [Unit] | ||||
| Description=Ethercalc ({{ ethercalc_id }} Instance) | ||||
| After=syslog.target network.target redis.service | ||||
|  | ||||
| [Service] | ||||
| Type=simple | ||||
| User={{ ethercalc_user }} | ||||
| Group={{ ethercalc_group }} | ||||
| ExecStart={{ ethercalc_root_dir }}/app/bin/ethercalc --host 0.0.0.0 --port {{ ethercalc_port }} --expire {{ ethercalc_expire }} --key=${KEY} | ||||
| PrivateTmp=yes | ||||
| PrivateDevices=yes | ||||
| ProtectSystem=full | ||||
| ProtectHome=yes | ||||
| NoNewPrivileges=yes | ||||
| MemoryLimit=512M | ||||
| SyslogIdentifier=ethercalc-{{ ethercalc_id }} | ||||
| Restart=on-failure | ||||
| EnvironmentFile={{ ethercalc_root_dir }}/env | ||||
|  | ||||
| [Install] | ||||
| WantedBy=multi-user.target | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Berteaud
					Daniel Berteaud