summarylogtreecommitdiffstats
path: root/psd.install
diff options
context:
space:
mode:
Diffstat (limited to 'psd.install')
-rw-r--r--psd.install35
1 files changed, 16 insertions, 19 deletions
diff --git a/psd.install b/psd.install
index b9cbd46dbb74..8360e262349c 100644
--- a/psd.install
+++ b/psd.install
@@ -1,24 +1,21 @@
-DAEMON_FILE="/run/psd"
-
post_install() {
echo '--> WARNING! DEVELOPMENT VERSION!'
+ echo '--> ALWAYS backup your profile data before using utils like psd!'
echo
- echo '--> Define which users will make use of the sync in /etc/psd.conf'
- echo '--> Read the manpage before use or see the wiki page'
- echo '--> https://wiki.archlinux.org/index.php/Profile-sync-daemon'
+ echo ' SPECIAL UPGRADE INSTRUCTIONS YOU MUST FOLLOW:'
echo
- echo '--> ALWAYS backup your profile data before using utils like psd!'
-}
-
-
-pre_remove() {
- if [ -e $DAEMON_FILE ]; then
- if ! systemd-notify --booted; then # not using systemd
- echo '--> Automatically stopping psd to rotate profiles back out of tmpfs.'
- /etc/rc.d/psd stop
- else
- echo '--> Automatically stopping psd to rotate profiles back out of tmpfs.'
- /usr/bin/systemctl stop psd.service
- fi
- fi
+ echo '1) If you are running psd version 5.x YOU MUST STOP IT BEFORE CONTINUING.'
+ echo
+ echo '2) If any browsers are running, exit them now.'
+ echo
+ echo '3) The new psd.conf resides in $HOME/.psd/psd.conf'
+ echo ' and it will be created for you on first use.'
+ echo
+ echo '4) Starting with version 6 of psd, there will be no /etc/psd.conf'
+ echo ' nor will you use systemd in system mode to call the service.'
+ echo ' Each user shall run his/her own USER psd.service to use'
+ echo ' like this: systemctl --user start psd.service'
+ echo
+ echo '5) Users wanting to use overlayfs mode MUST have sudo access to'
+ echo ' both mount and umount or psd will exit informing you of this.'
}