18 lines
589 B
Django/Jinja
18 lines
589 B
Django/Jinja
|
|
[Unit]
|
||
|
|
Description=SSH Agent for devstation
|
||
|
|
After=network.target
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=simple
|
||
|
|
User={{ linux_dev_station_service_user }}
|
||
|
|
Group={{ linux_dev_station_service_user }}
|
||
|
|
ExecStart=/usr/bin/ssh-agent -a {{ linux_dev_station_ssh_agent_socket }}
|
||
|
|
Restart=always
|
||
|
|
RestartSec=5
|
||
|
|
StandardOutput=append:{{ linux_dev_station_logs_dir }}/ssh-agent.log
|
||
|
|
StandardError=append:{{ linux_dev_station_logs_dir }}/ssh-agent.err.log
|
||
|
|
|
||
|
|
Environment="HOME={{ linux_dev_station_service_home }}"
|
||
|
|
Environment="PATH={{ linux_dev_station_path }}"
|
||
|
|
Environment="SSH_AUTH_SOCK={{ linux_dev_station_ssh_agent_socket }}"
|