mirror of
				https://gitea.blesmrt.net/mikaela/shell-things.git
				synced 2025-11-04 03:17:34 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			617 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			617 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
[Unit]
 | 
						|
Description=Limnoria instance
 | 
						|
After=network-online.target
 | 
						|
# if sharing server with IRC server, add
 | 
						|
#oragono.service
 | 
						|
#Wants=oragono.service
 | 
						|
 | 
						|
[Service]
 | 
						|
Type=simple
 | 
						|
Environment="TZ=Europe/Helsinki"
 | 
						|
# if supybot.commands.allowShell is True and this is not set, may default to /
 | 
						|
WorkingDirectory=/home/BOTUSER/
 | 
						|
# supybot.pidFile
 | 
						|
PIDFile=/home/BOTUSER/BOTNICKNAME/BOTNICKNAME.pid
 | 
						|
# python3 setup.py install --user
 | 
						|
ExecStart=/home/BOTUSER/.local/bin/supybot /home/BOTUSER/BOTNICKNAME/BOTNICKNAME.conf
 | 
						|
ExecReload=/bin/kill -HUP $MAINPID
 | 
						|
Restart=always
 | 
						|
RestartSec=5s
 | 
						|
User=BOTUSER
 | 
						|
 | 
						|
[Install]
 | 
						|
WantedBy=multi-user.target
 | 
						|
 |