2012/5/14 Pierre-Antoine Vanpe <[email protected]>:
> Hi all,
>
> I own the uTorrent-serveur package [1] lots of people asked me to run the 
> utserver deamon as utserver instead of root, so I tried my best with another 
> member, but we can't get it to work right. It works but only after installing 
> it, after a reboot it won't work without any errors. Only way to make it work 
> again is re-installing. Can anyone help me with this PKGBUILD?
>
> [1] https://aur.archlinux.org/packages.php?ID=43253
>
>
> BTW, there are a few duplicates PKGBUILDs for utorrent-server....

Related your question, I don't have a definitive answer, but I just
remembered the package 'virtualbox' [1] creates group in install file
and 'apache' [2] work with a specific user and group as well. Maybe
this could help.

Aside your question, my 2 cents on your package: great organization in
the PKGBUILD, you made it very readable, but you could put double
quote (") on $srcdir and $pkgdir to avoid aur-user with "/srv/folder
with space". Also, if you used 'makepkg --source' to create source
package, you would be able to avoid including
"utorrent-server.install~" and "PKGBUILD~" files.

[1] 
https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/virtualbox
[2] 
https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/apache

Cheers,
Rafael

Reply via email to