mirror of
https://github.com/YunoHost-Apps/lstu_ynh.git
synced 2024-09-03 19:36:12 +02:00
Use carton from debian's repositories
This commit is contained in:
parent
e8c86d2612
commit
b94ef4c927
5 changed files with 5 additions and 11 deletions
|
@ -6,7 +6,7 @@ Documentation=https://framagit.org/luc/lstu
|
|||
Type=forking
|
||||
User=www-data
|
||||
WorkingDirectory=__FINALPATH__
|
||||
ExecStart=/usr/local/bin/carton exec script/application minion worker
|
||||
ExecStart=/usr/bin/carton exec script/application minion worker
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -11,9 +11,9 @@ Restart=always
|
|||
RestartSec=10
|
||||
WorkingDirectory=__FINALPATH__
|
||||
PIDFile=__FINALPATH__/script/hypnotoad.pid
|
||||
ExecStart=/usr/local/bin/carton exec hypnotoad script/lstu
|
||||
ExecStop=/usr/local/bin/carton exec hypnotoad -s script/lstu
|
||||
ExecReload=/usr/local/bin/carton exec hypnotoad script/lstu
|
||||
ExecStart=/usr/bin/carton exec hypnotoad script/lstu
|
||||
ExecStop=/usr/bin/carton exec hypnotoad -s script/lstu
|
||||
ExecReload=/usr/bin/carton exec hypnotoad script/lstu
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#=================================================
|
||||
|
||||
# dependencies used by the app
|
||||
pkg_dependencies="build-essential libssl-dev zlib1g-dev libpng-dev libpq-dev memcached postgresql cpanminus"
|
||||
pkg_dependencies="build-essential libssl-dev zlib1g-dev libpng-dev libpq-dev memcached postgresql carton"
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
|
|
|
@ -74,9 +74,6 @@ ynh_script_progression --message="Installing dependencies..."
|
|||
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
|
||||
# Install Carton
|
||||
echo yes | cpanm Carton
|
||||
|
||||
#=================================================
|
||||
# CREATE A POSTGRESQL DATABASE
|
||||
#=================================================
|
||||
|
|
|
@ -86,9 +86,6 @@ ynh_script_progression --message="Reinstalling dependencies..."
|
|||
# Define and install dependencies
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
|
||||
# Install Carton
|
||||
echo yes | cpanm Carton
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE POSTGRESQL DATABASE
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue