๐Ÿ“— 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/seafile_service.j2

14 lines
315 B

[Unit]
Description=Seafile
After=network.target mysql.service
[Service]
Type=forking
ExecStart={{ seaf_dir }}/seafile-server-latest/seafile.sh start
ExecStop={{ seaf_dir }}/seafile-server-latest/seafile.sh stop
LimitNOFILE=infinity
User={{ seaf_user }}
Group={{ seaf_group }}
[Install]
WantedBy=multi-user.target