diff options
author | Mohammadreza Abdollahzadeh | 2024-03-28 08:12:46 +0330 |
---|---|---|
committer | Mohammadreza Abdollahzadeh | 2024-03-28 08:12:46 +0330 |
commit | 5e883dfda323f32324a52ce38c0f8225f8c3c50a (patch) | |
tree | 8d3603cbbff60db4ecb8c93fbbcbb947bab2f029 /warp-plus.install | |
parent | 42f1baa2549a731f223f75e231de3f1e4ea2a22e (diff) | |
download | aur-5e883dfda323f32324a52ce38c0f8225f8c3c50a.tar.gz |
upgpkg: warp-plus-bin 1.1.0-1
upstream release
Diffstat (limited to 'warp-plus.install')
-rw-r--r-- | warp-plus.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/warp-plus.install b/warp-plus.install new file mode 100644 index 000000000000..04dc2c140c1b --- /dev/null +++ b/warp-plus.install @@ -0,0 +1,18 @@ +post_install() { + echo " -> Warp-Plus is installed as a systemd service." + echo " -> You should change default config file at /etc/warp-plus/config.json according to your preferences." + echo " -> Then enable and start service with systemctl command." + echo " -> sudo systemctl enable --now warp-plus.service" +} + +pre_upgrade() { + systemctl stop warp-plus.service +} + +post_upgrade() { + systemctl start warp-plus.service +} + +pre_remove() { + systemctl disable --now warp-plus.service +} |