mirror of
https://github.com/YunoHost-Apps/duniter_ynh.git
synced 2024-09-03 18:26:35 +02:00
5dc34890eb
- [fix] do not move in /twp directory. Manage Debian package from current directory. - [enh] add 'set -eu' in install and update scripts. Remove it from remove script.
16 lines
220 B
Bash
Executable file
16 lines
220 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Exit on command errors and treat unset variables as an error
|
|
set -eu
|
|
|
|
app=duniter
|
|
|
|
# Stop duniter daemon
|
|
sudo $app stop
|
|
|
|
# Upgrade Duniter package
|
|
#dpkg -r
|
|
#dpkg -i
|
|
|
|
# Start duniter daemon
|
|
sudo $app start
|