Package Details: steamcmd latest-7

Git Clone URL: https://aur.archlinux.org/steamcmd.git (read-only, click to copy)
Package Base: steamcmd
Description: Steam Command Line Tools
Upstream URL: http://developer.valvesoftware.com/wiki/SteamCMD
Keywords: download games network server steam
Licenses: LicenseRef-Steam-Subscriber-Agreement
Submitter: markzz
Maintainer: HurricanePootis
Last Packager: HurricanePootis
Votes: 153
Popularity: 2.07
First Submitted: 2014-01-01 02:21 (UTC)
Last Updated: 2026-06-06 10:58 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

markzz commented on 2016-02-07 23:32 (UTC)

Since I'm on vacation next week and am doing things in preparation for my absence, this will be put off for the moment. What my plan is to read into the steamcmd "ConVars" and to just simply change this package to save the logs and other related things into /var/lib/steamcmd/. If possible, of course.

edh commented on 2016-02-07 23:25 (UTC)

I got that but the location is just one variable which I set for my own personal use. It was not meant to be a copy and pasty solution.

markzz commented on 2016-02-07 23:22 (UTC)

I'm still putting my foot down that I'm not going to install it into /srv. Sorry.

edh commented on 2016-02-07 22:50 (UTC)

I would be interested whether you think something like this makes sense [1]. Please feel free to critizise whatever you want. [1] https://gist.github.com/Edenhofer/b955b774820914cc7a2c

edh commented on 2016-02-06 19:41 (UTC)

Sounds reasonable. Thanks.

markzz commented on 2016-02-06 19:12 (UTC) (edited on 2016-02-06 19:22 (UTC) by markzz)

I personally use /var/lib simply because other Arch Linux packages use that for a home folder for users that don't need to be in /home. If you wish to use /srv, it's your machine and you're free to put files where you please. You have to remember the UNIX filesystem hierarchy is a guideline, but not a must-do. Arch Linux itself breaks rules regarding this topic. Also, the only reason Volvo wishes you to create a new user (at least by my interpretation) is to avoid installing server software with root. What I'll do is think about revising some of the parts of this package to use a separate user (probably a steamcmd user, and it's home folder will be in /var/lib to conform with other Arch Linux packages). Deal?

edh commented on 2016-02-06 17:58 (UTC)

Sure this is fine as well. Though currently this package executes at least once steamcmd as root in the .install file which leads to /root/Steam being created. I would expect this package to be installed how it is recommended by the steam developers themselfs. Additionally I think /srv is a much more appropiate place for game files since according to the common filesystem hierachy it is supposed to be the "the location of the data files for particular service, and so that services which require a single tree for readonly data, writable data and scripts (such as cgi scripts) can be reasonably placed." [1] while /var/lib clearly serves a different purpose [2]. But hell it is your package! This is just my point of view. [1] http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/srv.html [2] http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/var.html

markzz commented on 2016-02-06 17:16 (UTC) (edited on 2016-02-06 19:01 (UTC) by markzz)

I don't agree because it's not running as a daemon. Also, you should not run this as root (unless to run an update for SteamCMD itself). Furthermore, there's nothing stopping you from creating a user. When I use this, I create a user for the specific game (like tf2) and create a directory in /var/lib (e.g. /var/lib/tf2) and run steamcmd as that user just for that game.

edh commented on 2016-02-06 16:55 (UTC)

It is recommended that an extra user is created for SteamCMD [1]. I would suggest adapting the install file to properly implement that. It took me some time to figure out how to do that properly for a pacakge of mine so please feel free to build on top of my script [2]. Please set an appriopate home (maybe /srv/steam/) for that user and make sure to use it for running steamcmd since currently there is some junk residing in /root/Steam where it definitely should not belong. If you need any help please let me know and I would be happy to send some patches. Btw. tabs ftw! :D [1] https://developer.valvesoftware.com/wiki/SteamCMD#Linux [2] https://github.com/Edenhofer/abs/blob/master/minecraft-server/minecraft-server.install

WorMzy commented on 2014-01-28 19:43 (UTC)

Thanks for the quick update.