[Unit] Description=make go packages gettable (%I) After=network.target [Service] EnvironmentFile=/etc/vanity/%i.conf ExecStart=/usr/bin/vanity -addr=${VANITY_ADDR} -vanity-root=${VANITY_ROOT} -repo-root=${VANITY_REPO_ROOT} User=vanity Group=vanity Restart=on-failure PrivateTmp=yes PrivateDevices=yes ProtectSystem=full ProtectHome=yes [Install] WantedBy=multi-user.target