mirror of
				https://git.wownero.com/wownero/wownero.git
				synced 2024-08-15 01:03:23 +00:00 
			
		
		
		
	add systemd file
This commit is contained in:
		
							parent
							
								
									7f01ebbf29
								
							
						
					
					
						commit
						6afdd7894a
					
				
					 2 changed files with 20 additions and 20 deletions
				
			
		| 
						 | 
				
			
			@ -1,20 +0,0 @@
 | 
			
		|||
[Unit]
 | 
			
		||||
Description=Monero Full Node
 | 
			
		||||
After=network.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
User=monero
 | 
			
		||||
Group=monero
 | 
			
		||||
WorkingDirectory=~
 | 
			
		||||
StateDirectory=monero
 | 
			
		||||
LogsDirectory=monero
 | 
			
		||||
 | 
			
		||||
Type=simple
 | 
			
		||||
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
 | 
			
		||||
StandardOutput=null
 | 
			
		||||
StandardError=null
 | 
			
		||||
 | 
			
		||||
Restart=always
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=multi-user.target
 | 
			
		||||
							
								
								
									
										20
									
								
								utils/systemd/wownerod.service
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								utils/systemd/wownerod.service
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,20 @@
 | 
			
		|||
[Unit]
 | 
			
		||||
Description=Wownero Full Node
 | 
			
		||||
After=network.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
User=wownero
 | 
			
		||||
Group=wownero
 | 
			
		||||
Environment="MONERO_RANDOMX_UMASK=1"
 | 
			
		||||
StateDirectory=wownero
 | 
			
		||||
LogsDirectory=wownero
 | 
			
		||||
Type=simple
 | 
			
		||||
ExecStart=/usr/local/bin/wownerod --config-file /etc/wow.conf --non-interactive
 | 
			
		||||
WorkingDirectory=~
 | 
			
		||||
Restart=always
 | 
			
		||||
StandardOutput=null
 | 
			
		||||
StandardError=null
 | 
			
		||||
Restart=always
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=multi-user.target
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue