Project

General

Profile

Task #170

Updated by Nawan 22 days ago

/etc/systemd/system/fossil.socket 
 ```systemd 
 [Unit] 
 Description=Fossil socket 

 [Socket] 
 Accept=yes 
 ListenStream=8000 
 NoDelay=true 

 [Install] 
 WantedBy=sockets.target 
 ``` 
 /etc/systemd/system/fossil@.service 
 

 ```systemd 
 [Unit] 
 Description=Fossil socket server 
 After=network-online.target 

 [Service] 
 WorkingDirectory=/home/fossil/museum 
 ExecStart=/usr/bin/fossil http repo.fossil 
 StandardInput=socket 

 [Install] 
 WantedBy=multi-user.target 
 ```

Back