Server IP : 127.0.0.2 / Your IP : 18.221.207.166 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/systemd/system/ |
Upload File : |
# This service runs on GCP and Azure to enable auto-attaching to Ubuntu Pro # services when an Ubuntu Pro license is added to a machine. # It also serves as the retry service if an auto-attach fails and will # retry for up to one month after the failed attempt. # If you are uninterested in Ubuntu Pro services, then you can safely # stop and disable this service: # sudo systemctl stop ubuntu-advantage.service # sudo systemctl disable ubuntu-advantage.service [Unit] Description=Ubuntu Pro Background Auto Attach Documentation=man:ubuntu-advantage https://ubuntu.com/advantage # Note: This is NOT After=cloud-config.service to avoid deadlock when # cloud-init installs this package. # The python script will wait until cloud-config.service is done # before doing anything. After=network.target network-online.target systemd-networkd.service ua-auto-attach.service ubuntu-advantage-cloud-id-shim.service # Only run if not already attached ConditionPathExists=!/var/lib/ubuntu-advantage/private/machine-token.json # This service has two modes: # 1. Detect possible in-place upgrade to pro - on GCP and Azure # 2. auto-attach retry mode - only if ua-auto-attach.service fails # The following conditions correspond to those two modes. ConditionPathExists=|/run/cloud-init/cloud-id-gce ConditionPathExists=|/run/cloud-init/cloud-id-azure ConditionPathExists=|/run/ubuntu-advantage/flags/auto-attach-failed [Service] ExecStart=/usr/bin/python3 /usr/lib/ubuntu-advantage/daemon.py WorkingDirectory=/var/lib/ubuntu-advantage/ [Install] WantedBy=multi-user.target