user to execute?
Case:
there is a user in server called git (uid 100 gid 50 with no login shell and home dir: /srv/git)
is it possible to write a Unit which clones a repo as this user into its home?
Achivement so far:
[Unit]
Description=Git Clone %I
[Service]
Type=oneshot
User=git
ExecStart=/usr/lib/git-core/git-clone %I
$ systemctl start git-clone@$URL.service
@$ in a filename ?
Обсуждают сегодня