oragono/files/oragono.service
changeset 170 a20a6d03747f
parent 169 f4f9b52ede46
child 171 534b247bed1c
equal deleted inserted replaced
169:f4f9b52ede46 170:a20a6d03747f
     1 [Unit]
       
     2 Description=oragono
       
     3 After=network.target
       
     4 # If you are using MySQL for history storage, comment out the above line
       
     5 # and uncomment these two instead (you must independently install and configure
       
     6 # MySQL for your system):
       
     7 # Wants=mysql.service
       
     8 # After=network.target mysql.service
       
     9 
       
    10 [Service]
       
    11 Type=simple
       
    12 User=oragono
       
    13 WorkingDirectory=/var/oragono
       
    14 ExecStart=/usr/local/bin/oragono run --conf /etc/oragono/oragono.yaml
       
    15 ExecReload=/bin/kill -HUP $MAINPID
       
    16 Restart=on-failure
       
    17 LimitNOFILE=1048576
       
    18 
       
    19 [Install]
       
    20 WantedBy=multi-user.target