This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
fileservices:seafile_upgrade [2014/01/28 10:25] tschulz [Update Apache vhost] |
fileservices:seafile_upgrade [2014/09/16 09:31] (current) tschulz [A symbolic link //seafile-server-latest// makes updating the following unnecessary] |
||
---|---|---|---|
Line 19: | Line 19: | ||
</file> | </file> | ||
- | ===== Update init.d script ===== | + | ===== A symbolic link //seafile-server-latest// makes updating the following unnecessary ===== |
+ | |||
+ | |||
+ | ==== Update init.d script ==== | ||
change **script_path** to new **${seafile_dir}/seafile-server-X.X.X** | change **script_path** to new **${seafile_dir}/seafile-server-X.X.X** | ||
<file> | <file> | ||
vim /etc/init.d/seafile | vim /etc/init.d/seafile | ||
</file> | </file> | ||
- | + | <file bash /etc/init.d/seafile> | |
- | ===== Update Apache vhost ===== | + | ... |
+ | seafile_dir=/vol1/seafile | ||
+ | script_path=${seafile_dir}/seafile-server-X.X.X | ||
+ | seafile_init_log=${seafile_dir}/logs/seafile.init.log | ||
+ | seahub_init_log=${seafile_dir}/logs/seahub.init.log | ||
+ | ... | ||
+ | </file> | ||
+ | ==== Update Apache vhost ==== | ||
update directives: **FastCGIExternalServer**, **DocumentRoot**, **Alias** | update directives: **FastCGIExternalServer**, **DocumentRoot**, **Alias** | ||
<file> | <file> |