Skip to content

ServiceFile

Shawn Baker edited this page Dec 10, 2018 · 5 revisions

Documentation

https://www.freedesktop.org/software/systemd/man/systemd.service.html

Derived From

Properties

  • calls
    • add_exec_properties()
    • add_kill_properties()
    • add_resource_control_properties()
  • service
    • service_bus_name
    • service_exec_reload - list '' 1
    • service_exec_start - list '' 1
    • service_exec_start_post - list '' 1
    • service_exec_start_pre - list '' 1
    • service_exec_stop - list '' 1
    • service_exec_stop_post - list '' 1
    • service_file_descriptor_store_max - int
    • service_guess_main_pid - bool
    • service_non_blocking - bool
    • service_notify_access
    • service_permissions_start_only - bool
    • service_pid_file
    • service_remain_after_exit - bool
    • service_restart
    • service_restart_force_exit_status - list
    • service_restart_prevent_exit_status - list
    • service_restart_sec - seconds
    • service_root_directory_start_only - bool
    • service_runtime_max_sec - seconds
    • service_sockets - list ' ' 3
    • service_success_exit_status - list
    • service_timeout_sec - seconds
    • service_timeout_start_sec - seconds
    • service_timeout_stop_sec - seconds
    • service_type
    • service_usb_function_descriptors
    • service_usb_function_strings
    • service_watchdog_sec - seconds

Methods

  • __init__(file_name='')

Clone this wiki locally