- 実行コマンド:systemctl start ファイル名.socket, systemctl start ファイル名.service
- 実行日:2021/04/10
- 実行環境:Ubuntu 20.04
vpsadmin@xx1-234-56789:/etc/systemd/system$ systemctl start sample_django.socket
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'sample_django.socket'.
Multiple identities can be used for authentication:
1. ubuntu
2. ,,, (vpsadmin)
Choose identity to authenticate as (1-2): 2
Password:
==== AUTHENTICATION COMPLETE ===
vpsadmin@xx1-234-56789:/etc/systemd/system$ systemctl start sample_django.service
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'sample_django.service'.
Multiple identities can be used for authentication:
1. ubuntu
2. ,,, (vpsadmin)
Choose identity to authenticate as (1-2): 2
Password:
==== AUTHENTICATION COMPLETE ===
vpsadmin@xx1-234-56789:/etc/systemd/system$ systemctl start nginx
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'nginx.service'.
Multiple identities can be used for authentication:
1. ubuntu
2. ,,, (vpsadmin)
Choose identity to authenticate as (1-2): 2
Password:
==== AUTHENTICATION COMPLETE ===
vpsadmin@xx1-234-56789:/etc/systemd/system$ systemctl enable nginx
Synchronizing state of nginx.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable nginx
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
Authentication is required to reload the systemd state.
Multiple identities can be used for authentication:
1. ubuntu
2. ,,, (vpsadmin)
Choose identity to authenticate as (1-2): 2
Password:
==== AUTHENTICATION COMPLETE ===
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
Authentication is required to reload the systemd state.
Multiple identities can be used for authentication:
1. ubuntu
2. ,,, (vpsadmin)
Choose identity to authenticate as (1-2): 2
Password:
==== AUTHENTICATION COMPLETE ===
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-unit-files ===
Authentication is required to manage system service or unit files.
Multiple identities can be used for authentication:
1. ubuntu
2. ,,, (vpsadmin)
Choose identity to authenticate as (1-2): 2
Password:
==== AUTHENTICATION COMPLETE ===
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
Authentication is required to reload the systemd state.
Multiple identities can be used for authentication:
1. ubuntu
2. ,,, (vpsadmin)
Choose identity to authenticate as (1-2): 2
Password:
==== AUTHENTICATION COMPLETE ===
vpsadmin@xx1-234-56789:/etc/systemd/system$