๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
ansible-playbooks/roles/seafile/templates/seahub_service.j2

14 lines
356 B

[Unit]
Description=Seafile hub
After=network.target seafile.service
[Service]
Type=forking
# change start to start-fastcgi if you want to run fastcgi
ExecStart={{ seaf_dir }}/seafile-server-latest/seahub.sh start
ExecStop={{ seaf_dir }}/seafile-server-latest/seahub.sh stop
User={{ seaf_user }}
Group={{ seaf_group }}
[Install]
WantedBy=multi-user.target