Skip to content

ramiel/sinopia-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

SINOPIA SERVICE

Script for running sinopia server as daemon

User

This script run sinopia under sinopia user, you should create it

adduser --no-create-home --disabled-login sinopia

Copy service to init.d

sudo cp service/sinopia /etc/init.d/sinopia
sudo chmod +x /etc/init.d/sinopia

We need also some directories to store configuration and packages

sudo mkdir /etc/sinopia
sudo mkdir /etc/sinopia/storage
sudo mv config.yaml /etc/sinopia/
sudo chown sinopia:sinopia /etc/sinopia/ -R
sudo chmod g+w /etc/sinopia/storage

You should modify /etc/sinopia/config.yaml for your needs

Start it!

sudo /etc/init.d/sinopia start

Author

Fabrizio "ramiel" Ruggeri

About

Script for running Sinopia server as demon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages