Where should I put systemd file for e.g. Nginx nginx.service or something like that on Ubuntu 16.04 ?
I  that there are two folders for unit files (not in user mode). /usr/lib/systemd/system/: units provided by installed packages /etc/systemd/system/: units installed by the system administrator  Conflicting with this understanding is the answer to this question: . Can someone fill in the missing information so that I understand what is going on? (UPDATE: The answer has been updated, and my understanding no longer conflicts with it.) Also, it seems that the scripts are organized in subfolders within the /etc/systemd/system/ folder: getty.target.wants multi-user.target.wants  In another location I read that there are other locations. It seems these are for user-specific services. /usr/lib/systemd/user/ where services provided by installed packages go. /etc/systemd/user/ where system-wide user services are placed by the system administrator. ~/.config/systemd/user/ where the user puts its own services.   Update 2015-08-31: For the sake of others, here is a link to a related question I recently asked:
Monochromatic squares in a colored plane Badges loading broken in election statistics We have an  and I noticed the badges are not loading in the election statistics like they should be. It just hangs forever loading badge information:    Unfortunately I blew off reporting this for a couple days figuring it would resolve itself, but it doesn't seem to be a temporary problem. Why doesn't "its" have an apostrophe? I know that its is the possessive and it's is the contraction, and know when to use them.  But why doesn't the possessive have an apostrophe?   "The bear's eating a fish." [contraction] "The bear's coat is brown." [possessive] "It's eating a fish." [contraction] "Its coat is brown." [possessive] "One's eating a fish." [contraction] "One's coat is brown." [possessive]    lists the etymology as "From  +‎ ", and  says that this is actually the original form:     Originally written it's, and still deliberately spelled thus by some writers until early 1800s.   So what happened to the apostrophe?  When did people stop using it, and why did they?  It seems that it's as the possessive is more natural, as most people do this until they're taught that it is wrong (or even after).  Update: Online Etymology Dictionary has been updated to include two potential explanations:     The apostrophe came to be omitted, perhaps because it's already was established as a contraction of it is, or by general habit of omitting apostrophes in personal pronouns (hers, yours, theirs, etc.).   Can anyone back up either of these arguments?  The possessive one's still has the apostrophe, despite these. Example of a ring without Invariant Basis Property Mafia 3 no more damage to be dealt barclay mills Some Git commands take commit ranges and one valid syntax is to separate two commit names with two dots .., and another syntax uses three dots ....  What are the differences between the two? Why do different wavelength get impeded more or less when in different materials? Moving with the same speed, but a longer physical distance would imply that the fields oscillate less times in the material, but I don't know why a difference in the number of oscillations would impede the wave- I don't even know why things slow down in general. Why some electromagnetic wave would slow down just because it's entering other electromagnetic fields... It would seem to me that the only factor would be time taken to physically move some electron or something in the direction of the fields... But that seems to simple of an explanation to me. When writing a book and referring to a female and male aged 18–25, what term would be most appropriate? Boy and girl seem too young, whereas man and woman seem too old.  Example sentence:     A boy/man emerged from the shadows.   Edit: I think the word I am looking for is similar to 'guy' but less American and colloquial. Any thoughts? Does $x^2 - y^2 = 12345678$ (x,y are integers) have any solutions? How can I solve this quantum mechanical "paradox"? Reading a 5 Band resistor with Gold as a middle band? Can anyone read the resistor that the arrow is pointing to?  From what I know you can not have a gold band as a number and if I am reading it correctly it has a tolerance of 0 which does not seem right. Running 64 bit programs on a 32 bit system Should flawed questions be closed immediately? Book featuring a child learning from a crowdsourced AI book What is going on in front of and behind a fan? Why is it that when you drop paper behind a fan, it drops, and is not blown/sucked into the fan, whereas if you drop paper in front of a fan, it is blown away? What is the number of automorphisms (including identity) for permutation group $S_3$ on 3 letters? What is the number of automorphisms (including identity) for permutation group $S_3$ on 3 letters?  I believe the answer for this is 6. As we can write the group elements as below   (a)(b)(C) (ab)(c) (ac)(b) (bc)(a) (abc) (bac)   Can we generalize that for any $S_n$ onto $n$ the number of automorphisms will be $n!$ Also I cannot find this anywhere in my text, can we have a permutation $S_n$ onto $m$ where $n\neq m$? (for eg: is it possible to have a permutation group say $S_5$ on say 2 elements?) How do I insert a nice tilde that is centered in the middle in a lstlisting? I found another thread about  but I can't apply it because the method described there only works outside of lstlisting as lstlisting displays all the text literally. Any ideas?  Here is how the tilde looks in my document at the moment - it's at the very top of the font and I would like it to be in the middle (like ~ this).    Here is the LaTeX for this fragment:  \section{Remove duplicate, consecutive lines (emulate "uniq")}  \begin{lstlisting} awk 'a !~ $0; { a = $0 }' \end{lstlisting}  Variables in Awk don't need to be initialized or declared before they are being used. Visa for Istanbul trip during layover I am an Indian (Indian Passport) presently in Kano, Nigeria on a business visa. I am going back to Mumbai on 22 Sept by Turkish Airlines with a 12 hour layover time in Istanbul.  We plan to see the city during this time.  Can I get a visa on arrival? How to know the model has started overfitting? Questions on perfect squares I recently attended a test which ask me two question based on perfect squares; here they are:  $1.$ How many even perfect squares between $1000$ and $5000$ are divisible by both $5$ and $9$?  $2.$ Can there be a perfect square whose digits consists of exactly $4$ ones, $4$ twos and $4$ zeroes in any order?  I haven't done anything much on perfect squares so I was reluctant to attempt them during exams, although as I had some spare time after finishing the other questions, I tried thinking about the first problem and I noticed that only $3600$ seems to satisfy the conditions, which is correct, but I don't know how to get this mathematically? And for the second problem, I don't have any clue till now.  Unfortunately they haven't given me any solutions for the questions, nor any ideas as to how to solve them (mathematically)?