File: install-example.sh

package info (click to toggle)
lastfmsubmitd 0.37-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 320 kB
  • ctags: 201
  • sloc: python: 1,304; sh: 246; makefile: 39
file content (12 lines) | stat: -rw-r--r-- 198 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# A typical setup.

groupadd lastfm
useradd -g lastfm lastfm

for d in /var/log /var/run /var/spool; do
    mkdir $d/lastfm
    chown lastfm:lastfm $d/lastfm
    chmod 775 $d/lastfm
done