18 lines
514 B
INI
18 lines
514 B
INI
[Unit]
|
|
Description=Ansipa git policy server setup (repo, hooks, keys, sshd config)
|
|
After=network.target docker-env.service
|
|
Wants=docker-env.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
# Passwords/keys come from /etc/container.env (written by docker-env.service
|
|
# from Docker -e flags) on first boot; persisted thereafter under /data.
|
|
EnvironmentFile=-/etc/container.env
|
|
ExecStart=/usr/local/sbin/ansipa-git-server-setup.sh
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|