-
Notifications
You must be signed in to change notification settings - Fork 1
UnitFile
Shawn Baker edited this page Dec 10, 2018
·
8 revisions
https://www.freedesktop.org/software/systemd/man/systemd.unit.html
- unit
- unit_after - list ' ' 3
- unit_allow_isolate - bool
- unit_assert_ac_power - bool
- unit_assert_architecture
- unit_assert_capability
- unit_assert_control_group_controller
- unit_assert_directory_not_empty
- unit_assert_file_not_empty
- unit_assert_file_is_executable
- unit_assert_first_boot - bool
- unit_assert_group
- unit_assert_host
- unit_assert_kernel_command_line
- unit_assert_kernel_version
- unit_assert_needs_update
- unit_assert_path_exists
- unit_assert_path_exists_glob
- unit_assert_path_is_directory
- unit_assert_path_is_mount_point
- unit_assert_path_is_read_write
- unit_assert_path_is_symbolic_link
- unit_assert_security
- unit_assert_virtualization
- unit_assert_user
- unit_before - list ' ' 3
- unit_binds_to - list ' ' 3
- unit_collect_mode
- unit_condition_ac_power - bool
- unit_condition_architecture
- unit_condition_capability
- unit_condition_control_group_controller - list
- unit_condition_directory_not_empty
- unit_condition_file_is_executable
- unit_condition_file_not_empty
- unit_condition_first_boot - bool
- unit_condition_group
- unit_condition_host
- unit_condition_kernel_command_line
- unit_condition_kernel_version
- unit_condition_needs_update
- unit_condition_path_exists
- unit_condition_path_exists_glob
- unit_condition_path_is_directory
- unit_condition_path_is_mount_point
- unit_condition_path_is_symbolic_link
- unit_condition_path_is_read_write
- unit_condition_security
- unit_condition_user
- unit_condition_virtualization
- unit_conflicts - list ' ' 3
- unit_default_dependencies - bool
- unit_description
- unit_documentation - list ' ' 1
- unit_failure_action
- unit_ignore_on_isolate - bool
- unit_job_running_timeout_sec - seconds
- unit_job_timeout_sec - seconds
- unit_job_timeout_action
- unit_job_timeout_reboot_argument
- unit_joins_namespace_of - list ' ' 3
- unit_on_failure - list ' ' 3
- unit_on_failure_job_mode
- unit_part_of - list ' ' 3
- unit_propagates_reload_to - list ' ' 3
- unit_reboot_argument
- unit_refuse_manual_start - bool
- unit_refuse_manual_stop - bool
- unit_reload_propagated_from - list ' ' 3
- unit_requires - list ' ' 3
- unit_requires_mounts_for - list
- unit_requisite - list ' ' 3
- unit_source_path
- unit_start_limit_action
- unit_start_limit_burst - int
- unit_start_limit_interval_sec - seconds
- unit_stop_when_unneeded - bool
- unit_success_action
- unit_wants - list ' ' 3
- install
- install_alias - list ' ' 3
- install_also - list ' ' 3
- install_default_instance
- install_required_by - list ' ' 3
- install_wanted_by - list ' ' 3
- __init__(file_name='')
- add_exec_properties(section_name='')
- replace <section_name> below with mount, service, socket or swap depending on the type of file being accessed
- <section_name>_ambient_capabilities - list ' ' 3
- <section_name>_app_armor_profile
- <section_name>_bind_paths - list ' ' 3
- <section_name>_bind_read_only_paths - list ' ' 3
- <section_name>_cache_directory - list
- <section_name>_cache_directory_mode - mode
- <section_name>_capability_bounding_set - list ' ' 3
- <section_name>_configuration_directory - list
- <section_name>_configuration_directory_mode - mode
- <section_name>_cpu_affinity
- <section_name>_cpu_scheduling_policy
- <section_name>_cpu_scheduling_priority - int
- <section_name>_cpu_scheduling_reset_on_fork - bool
- <section_name>_dynamic_user - bool
- <section_name>_environment - list ' ' 5
- <section_name>_environment_file - list ' ' 1
- <section_name>_group
- <section_name>_ignore_sig_pipe - bool
- <section_name>_inaccessible_paths - list ' ' 3
- <section_name>_io_scheduling_class - int
- <section_name>_io_scheduling_priority - int
- <section_name>_keyring_mode
- <section_name>_limit_as
- <section_name>_limit_core
- <section_name>_limit_cpu
- <section_name>_limit_data
- <section_name>_limit_fsize
- <section_name>_limit_locks
- <section_name>_limit_mem_lock
- <section_name>_limit_msg_queue
- <section_name>_limit_nice
- <section_name>_limit_no_file
- <section_name>_limit_nproc
- <section_name>_limit_rss
- <section_name>_limit_rt_prio
- <section_name>_limit_rt_time
- <section_name>_limit_sig_pending
- <section_name>_limit_stack
- <section_name>_lock_personality - bool
- <section_name>_log_extra_fields - list ' ' 1
- <section_name>_log_level_max
- <section_name>_logs_directory - list
- <section_name>_logs_directory_mode - mode
- <section_name>memory_deny_write<section_name>ute - bool
- <section_name>_mount_api_vfs - bool
- <section_name>_mount_flags
- <section_name>_nice - int
- <section_name>_no_new_privileges - bool
- <section_name>_oom_score_adjust - int
- <section_name>_pam_name
- <section_name>_pass_environment - list ' ' 5
- <section_name>_personality
- <section_name>_private_devices - bool
- <section_name>_private_mounts - bool
- <section_name>_private_network - bool
- <section_name>_private_tmp - bool
- <section_name>_private_users - bool
- <section_name>_protect_control_groups - bool
- <section_name>_protect_home
- <section_name>_protect_kernel_modules - bool
- <section_name>_protect_kernel_tunables - bool
- <section_name>_protect_system
- <section_name>_read_only_paths - list ' ' 3
- <section_name>_read_write_paths - list ' ' 3
- <section_name>_remove_ipc - bool
- <section_name>_restrict_address_families - list ' ' 3
- <section_name>_restrict_namespaces
- <section_name>_restrict_realtime - bool
- <section_name>_root_directory
- <section_name>_root_image
- <section_name>_runtime_directory - list
- <section_name>_runtime_directory_mode - mode
- <section_name>_runtime_directory_preserve
- <section_name>_se_linux_context
- <section_name>_secure_bits - list ' ' 3
- <section_name>_smack_process_label
- <section_name>_standard_error
- <section_name>_standard_input
- <section_name>_standard_input_data
- <section_name>_standard_input_text
- <section_name>_standard_output
- <section_name>_state_directory - list
- <section_name>_state_directory_mode - mode
- <section_name>_supplementary_groups - list ' ' 3
- <section_name>_syslog_facility
- <section_name>_syslog_identifier
- <section_name>_syslog_level
- <section_name>_syslog_level_prefix - bool
- <section_name>_system_call_architectures - list
- <section_name>_system_call_error_number
- <section_name>_system_call_filter - list ' ' 3
- <section_name>_temporary_file_system - list ' ' 3
- <section_name>_timer_slack_nsec - seconds
- <section_name>_tty_path
- <section_name>_tty_reset - bool
- <section_name>_tty_v_hangup - bool
- <section_name>_tty_vt_disallocate - bool
- <section_name>_umask
- <section_name>_unset_environment - list ' ' 5
- <section_name>_user
- <section_name>_utmp_identifier
- <section_name>_utmp_mode
- <section_name>_working_directory
- add_kill_properties(section_name='')
- replace <section_name> below with mount, service, socket or swap depending on the type of file being accessed
- <section_name>_kill_mode
- <section_name>_kill_signal
- <section_name>_send_sig_hup - bool
- <section_name>_send_sig_kill - bool
- add_resource_control_properties(section_name='')
- replace <section_name> below with mount, scope, service, slice, socket or swap depending on the type of file being accessed
- <section_name>_block_io_accounting - bool
- <section_name>_block_io_device_weight - list '' 1
- <section_name>_block_io_read_bandwidth - list '' 1
- <section_name>_block_io_weight - int
- <section_name>_block_io_write_bandwidth - list '' 1
- <section_name>_cpu_accounting - bool
- <section_name>_cpu_quota
- <section_name>_cpu_shares - int
- <section_name>_cpu_weight - int
- <section_name>_delegate
- <section_name>_device_allow
- <section_name>_device_policy
- <section_name>_io_accounting - bool
- <section_name>_io_device_weight - list '' 1
- <section_name>_io_read_bandwidth_max - list '' 1
- <section_name>_io_read_iops_max - list '' 1
- <section_name>_io_weight - int
- <section_name>_io_write_bandwidth_max - list '' 1
- <section_name>_io_write_iops_max - list '' 1
- <section_name>_ip_accounting - bool
- <section_name>_ip_address_allow - list ' ' 5
- <section_name>_ip_address_deny - list ' ' 5
- <section_name>_memory_accounting - bool
- <section_name>_memory_high - bytes
- <section_name>_memory_limit - bytes
- <section_name>_memory_low - bytes
- <section_name>_memory_max - bytes
- <section_name>_memory_swap_max - bytes
- <section_name>_slice
- <section_name>_startup_block_io_weight - int
- <section_name>_startup_cpu_shares - int
- <section_name>_startup_cpu_weight - int
- <section_name>_startup_io_weight - int
- <section_name>_tasks_accounting - bool
- <section_name>_tasks_max