FS#35728 - [amule] Fix installation issue (followup for FS#35708)
Attached to Project:
Arch Linux
Opened by Anatol Pomozov (anatolik) - Sunday, 09 June 2013, 01:00 GMT
Last edited by Giovanni Scafora (giovanni) - Sunday, 27 October 2013, 16:23 GMT
Opened by Anatol Pomozov (anatolik) - Sunday, 09 June 2013, 01:00 GMT
Last edited by Giovanni Scafora (giovanni) - Sunday, 27 October 2013, 16:23 GMT
|
Details
Use -d flag for useradd instead of -b
Additional changes: - do not remove account on package remove. I saw that some packages do this. Feel free to change it (i.e. remove account and probably remove account home dir). - do not change config files if they already exist. Tested: remove package, install it remove package and home dir, install it install package twice in a row |
This task depends upon
Closed by Giovanni Scafora (giovanni)
Sunday, 27 October 2013, 16:23 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 10808-2
Sunday, 27 October 2013, 16:23 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 10808-2
- move 'systemctl stop amuled' from post_remove() to pre_remove() function.
What do you think about this improvement? Do you have time to review it? Feel free to assign future bugs on amule systemd to me.
FYI: I also updated wiki page to systemd some time ago https://wiki.archlinux.org/index.php/AMule
How can I install the support for starting amuled with systemd? I just need to extract the file from that tar (amule-10803-4.src.tar.gz) and copy to /etc/systemd/system?
Or doing that will keep this file on my system when I remove amule? I can also try to remove and reinstall amule?
I noticed that the .service file aren't in the package, maybe are generated after the install? I have amule installed from many versions, and I remember that previously the package was an svn version before getting stable, certainly first of arch systemd introduction.
IMHO amule should be dropped to AUR - it has higher chance of proper support there.
But was modifying the file /lib/systemd/system/amuled.service in the line "user", setting it to my username that I worked, and now I can connect with amuleGUI.
I think we just need to modify the wiki and we can close this bug.